sabledocs
Simple static documentation generator for Protobuf and gRPC contracts.
File Explorer
Download Latest Version (.zip)- config.yml
- Dockerfile
- Dockerfile
- Dockerfile
- custom_comments_parser.py
- descriptor.pb
- google-cloud-sdk.pb
- intro.md
- sable-test.pb
- sable-test.proto
- sabledocs.toml
- mystyles.scss
- fontawesome.js
- lunr.js
- mystyles.css
- theme.js
- base.html
- enum.html
- index.html
- message.html
- package.html
- search.html
- service.html
- type_name.html
- __init__.py
- __main__.py
- comments_parser.py
- lunr_search.py
- proto_descriptor_parser.py
- proto_model.py
- requirements.txt
- sable_config.py
- test_proto_descriptor_parser.py
- .gitattributes
- .gitignore
- CHANGELOG.md
- generate_sample_docs.sh
- LICENSE
- MANIFEST.in
- mystyles.css
- package-lock.json
- package.json
- pyproject.toml
- README.md
- setup.cfg
# Installation Guide
git clone https://github.com/markvincze/sabledocs
Downloads the entire project code from GitHub to your computer.
cd sabledocs
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install sabledocs
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f docker/alpine/Dockerfile -t sabledocs .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 sabledocs
Runs the built image as an actual container.
4. Node.js
Easynpm run css-build; pip install ..; sabledocs; .\output\index.html
Installs the Python libraries listed in requirements.txt (or similar).
npm run css-build && pip install .. && sabledocs && .\output\index.html
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
5. Python
Easypip install sabledocs
Installs the package published on PyPI directly β no need to clone the source.
python -m build
Runs the Python script (or module).
python -m twine upload --repository testpypi dist/*
Runs the Python script (or module).
pip install -e .
Installs the Python libraries listed in requirements.txt (or similar).
npm run css-build; pip install ..; sabledocs; .\output\index.html
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
