Giter Site home page Giter Site logo

dune-docs's Introduction

Getting started

Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command

npm i -g mintlify

Run the following command at the root of your documentation (where mint.json is)

mintlify dev

You can now preview your documentation at http://localhost:3000

Making Changes

You can make changes to the documentation by editing the .mdx files in their respective folders. The changes will be reflected in the preview.

For specific syntax and formatting guides, refer to the mintlify documentation here.

Publishing Changes

If you have made changes to the documentation and want to publish them, submit a pull request to the main branch.

Please always allow edits by maintainers so the docs maintainers can work with your PR.

Once the pull request is merged, the changes will be automatically published to the documentation website.

Adding New Pages

To add a new page to the documentation, create a new .mdx file in the folder where you want the page to be. Then, add the following to the mint.json file:

{
  "routes": [
    {
      "path": "/new-page",
      "component": "./new-page.mdx"
    }
  ]
}

Replace new-page with the name of the file you created.

Troubleshooting

  • Mintlify dev isn't running - Run mintlify install it'll re-install dependencies.
  • Page loads as a 404 - Make sure you are running in a folder with mint.json

Minflify provides additional functionality to help maintain your documentation.

Broken links

If you have broken links in your documentation, you can use the mintlify CLI to find them. Run the following command at the root of your documentation (where mint.json is)

mintlify broken-links

This will output a list of broken links in the console.

This functionality does not work for href links, be especially careful while defining these.

Renaming files

If you rename a file in your documentation, you can use the mintlify CLI to update the links in your documentation. Run the following command at the root of your documentation.

mintlify rename-file <old-file-name> <new-file-name>

This is a global search and replace, so it will update all the links in your documentation to the new file name. It helps to avoid broken links.

dune-docs's People

Contributors

0xboxer avatar andrewhong5297 avatar agaperste avatar philippwassibauer avatar waddahaldrobi avatar helanto avatar nileslawrence avatar msf avatar vegarsti avatar dsalv avatar belen-pruvost avatar mara-dune avatar theedgeofrage avatar a-monteiro avatar kasiafi avatar richardkeo avatar mkchungs avatar hawkaa avatar bh2smith avatar andriy-shymkiv avatar bernatfp avatar couralex6 avatar chrischang avatar 0xnazarii avatar sourabhniyogi avatar hagaetc avatar jonathandune avatar thecaptncrunch avatar vlad1chek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.