Skip to content

tungstenfabric/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working with the docs

The documentation is delivered via a Read The Docs (RTD) website.

TF uses the Linux Foundation's implementation for publishing to RTD, which is documented here.

I have not formally documented the usage requirements other than the commands to run to build and lint the docs. In general, the build process uses the sphinx-build command behind the scenes. Please consider creating a pull request to improve this README if/when you start contributing to this documentation. Thanks...

Installing required software

  1. Install Sphinx-build https://www.sphinx-doc.org/en/master/usage/installation.html
  2. Install Tox https://tox.readthedocs.io/en/latest/install.html

Building the docs

Build the docs static site.

$ tox -e docs

This command will populate a static website under the folder _build/html.

Running the linter

In addition to building, we can and should run a linter against the content.

$ tox -e docs-linkcheck

Building and running the linter

To build documentation and execute link checking in one run.

$ tox -e docs-all

Building documentation locally

Local building will establish re-usable pip cache under tox workdir (.tox/).

$ tox -e docs-dev

Additionally you can pass additional flags to sphinx-build i.e speed up building process with -j <n> flag.

$ tox -e docs-dev -- -j 4

Troubleshooting

In case tox will report errors like module not found when that module was previously used then remove .tox folder and run tox again.

Releases

No releases published

Packages

No packages published