https://github.com/willingc/doc-basics
A minimal Sphinx documentation structure
https://github.com/willingc/doc-basics
conda readthedocs sphinx sphinx-documentation
Last synced: 4 months ago
JSON representation
A minimal Sphinx documentation structure
- Host: GitHub
- URL: https://github.com/willingc/doc-basics
- Owner: willingc
- License: mit
- Created: 2017-09-10T23:17:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T00:56:42.000Z (almost 8 years ago)
- Last Synced: 2025-03-16T01:54:48.345Z (4 months ago)
- Topics: conda, readthedocs, sphinx, sphinx-documentation
- Homepage: http://doc-basics.readthedocs.io/en/latest/
- Size: 12.7 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# doc-basics
[](http://doc-basics.readthedocs.io/en/latest/?badge=latest)
A minimal Sphinx documentation structure.
Features:
- Python 3
- Sphinx >= 1.6
- `docs`: the root directory for documentation
- intersphinx using Python 3
- supports markdown and restructured text
- rtd yml build file
- conda `environment.yml`
- pip `requirements_docs.txt`## Installation
1. Clone the repo from GitHub
```bash
git clone https://github.com/willingc/doc-basics.git
```2. Change directory to `doc-basics`.
```bash
cd doc-basics
```3. Create and activate a virtual environment
```bash
python3 -m venv mydocenv
source mydocenv/bin/activate
```4. Install requirements.
```bash
python3 -m pip install -r docs/requirements_docs.txt
```## Build documentation
From the `docs` directory:
| Task | Command |
| ---- | :-----: |
| Clean out prior doc builds | `make clean` |
| Build docs (in html format) | `make html` |
| Check links in docs | `make linkcheck` |
| View docs | `open _build/html/index.html` |