mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
[docs] Doc tweaks
Co-Authored-By: Lysandre Debut <lysandre.debut@reseau.eseo.fr>
This commit is contained in:
parent
ecfddc6034
commit
fc9faa8a47
4 changed files with 37 additions and 11 deletions
|
|
@ -34,11 +34,11 @@ pip install recommonmark
|
|||
|
||||
## Building the documentation
|
||||
|
||||
Make sure that there is a symlink from the `example` file (in /examples) inside the source folder. Run the followig
|
||||
Make sure that there is a symlink from the `example` file (in /examples) inside the source folder. Run the following
|
||||
command to generate it:
|
||||
|
||||
```bash
|
||||
ln -s ../../examples/README.md source/examples.md
|
||||
ln -s ../../examples/README.md examples.md
|
||||
```
|
||||
|
||||
Once you have setup `sphinx`, you can build the documentation by running the following command in the `/docs` folder:
|
||||
|
|
|
|||
|
|
@ -29,4 +29,4 @@ urllib3==1.25.3
|
|||
sphinx-markdown-tables==0.0.9
|
||||
numpy==1.17.2
|
||||
tensorflow==2.0.0rc2
|
||||
torch==1.1.0
|
||||
torch==1.2.0
|
||||
File diff suppressed because one or more lines are too long
1
docs/source/examples.md
Symbolic link
1
docs/source/examples.md
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../examples/README.md
|
||||
Loading…
Reference in a new issue