Welcome to the Dune Docs!
Dune is a crypto analytics tool by and for the community.
These docs are open source and built with Material for MkDocs.
Any contributions are welcome, from spelling mistakes to entire guides on the EVM. Just submit a PR.
You'll need to follow the autodoc setup guide:
Autodoc requires Node v18.0.0 or greater. v19.0.0 or greater is recommended. Make sure you're running the proper version:
$ node -vExample output:
v19.8.1Install the Autodoc CLI tool as a global NPM module:
$ npm install -g @context-labs/autodocThen, you'll need to SET or EXPORT your OpenAI API key.
Now just clone this repo, and then all you need to do is run doc q in the repo and you'll be able to ask questions! Hopefully we'll have a frontend for this soon :)
If you'd like to run the docs locally, follow these instructions.
Setup your local python 3 environment, e.g. with Miniconda.
Install the python libraries:
pip install -r requirements.txtRun the docs locally:
mkdocs serveRemember to use relative paths to markdown files for internal links (e.g. [link](../../relative/path/to/index.md)), otherwise the mkdocs compiler will not detect broken internal links - read more.
Dune docs are kindly translated by members of our community.
Currently they are available in English and Chinese.
Each translation is run as a separate mkdocs-material project. For example, with the Chinese docs navigate to zh and run mkdocs serve. The build process automatically merges together translations into a single docs site with language switcher.
To propose a new language, open an issue or reach out to us on Discord!
To upgrade mkdocs-material, you need to pin a new version of mkdocs-material and update the hard-coded value for stylesheets in overrides/main.html.
- Update 
requirements.txtwith new version ofmkdocs-material - Upgrade your local environment
 - Find the auto-generated stylesheet file name, see example
 - Update in 
overrides/main.html - Do the same for the 
mkdocs-material-insiders - Update the 
mkdocs-materialversion on Vercel