AUCOHL / DFFRAM

Standard Cell Library based Memory Compiler using FF/Latch cells
Apache License 2.0
133 stars 32 forks source link

Use Sphinx to create awesome documentation for the project #131

Open mithro opened 2 years ago

mithro commented 2 years ago

Sphinx is the best tool for documenting Python projects. This project should have awesome documentation.

You can probably steal a lot of inspiration from projects like;

You might find the following plugins interesting;

mithro commented 2 years ago

@umarcor might also be able to provide some tips and pointers.

umarcor commented 2 years ago

We use BuildTheDocs in many projects. It's a Python script (https://github.com/buildthedocs/btd/blob/master/btd/__init__.py) available as a GitHub Action (https://github.com/buildthedocs/btd/blob/master/action.yml), which can be used in a workflow as follows:

      - name: '📓 BuildTheDocs (BTD)'
        uses: buildthedocs/btd@v0
        with:
          token: ${{ github.token }}
          skip-deploy: github.event_name == 'pull_request'

It builds the docs and pushes them to GitHub Pages (branch gh-pages).

For reference, see the .btd.yml, doc/conf.py and doc/Makefile files in any of the repos from github.com/edaa-org.