transformers/docs
2019-07-05 17:44:59 -04:00
..
imgs - updated docs for new LR API 2019-04-25 15:59:39 +02:00
source Tokenizers and Config classes are referenced. 2019-07-05 17:44:59 -04:00
Makefile Initial folder structure for the documentation. A draft of documentation change has been made in the BertModel class. 2019-07-05 17:11:13 -04:00
README.md Initial folder structure for the documentation. A draft of documentation change has been made in the BertModel class. 2019-07-05 17:11:13 -04:00

Generating the documentation

To generate the documentation, you first have to build it. Building it requires the package sphinx that you can install using:

pip install -U sphinx

You would also need the custom installed theme by Read The Docs. You can install it using the following command:

pip install sphinx_rtd_theme

Once you have setup sphinx, you can build the documentation by running the following command in the /docs folder:

make html

It should build the static app that will be available under /docs/_build/html