Skip to content

Commit

Permalink
Merge pull request #522 from QData/doc-fix
Browse files Browse the repository at this point in the history
readtheDoc fix
  • Loading branch information
qiyanjun committed Sep 10, 2021
2 parents 1c00a8e + b66bb92 commit 6e70487
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/0_get_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ You can also install other miscallenous optional dependencies by running

To install both groups of packages, run

pip install textattack[tensorflow, optional]
pip install textattack[tensorflow,optional]
6 changes: 6 additions & 0 deletions docs/1start/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ For help and realtime updates related to TextAttack, please [join the TextAttack
pip install --force-reinstall textattack
```

OR
```bash
pip install textattack[tensorflow,optional]
```


Besides, we highly recommend you to use virtual environment for textattack use,
see [information here](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#removing-an-environment). Here is one conda example:

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ TextAttack Documentation
Installation <0_get_started/installation.md>
Command-Line Usage <0_get_started/command_line_usage.md>
Quick API Usage <0_get_started/quick_api_tour.rst>
FAQ <1start/FAQ.md>

.. toctree::
:maxdepth: 6
Expand All @@ -33,7 +34,6 @@ TextAttack Documentation
1start/api-design-tips.md
1start/multilingual-visualization.md
1start/support.md
1start/FAQ.md


.. toctree::
Expand Down
32 changes: 18 additions & 14 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,27 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlitedict==1.7.0
stanza==1.2.2
nbclient==0.5.3
nbclient==0.5.4
nbconvert==6.1.0
nbformat==5.1.3
nbsphinx==0.8.6
ipywidgets==7.6.3
ipykernel==6.0.3
ipython==7.25.0
tensorboard==2.5.0
nbsphinx==0.8.7
widgetsnbextension==3.5.1
ipykernel==6.4.1
ipython==7.27.0
ipython-genutils==0.2.0
ipywidgets==7.6.4
scipy==1.7.1
tensorboard==2.6.0
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.0
tensorboardX==2.4
tensorflow==2.5.1
tensorflow-estimator==2.5.0
tensorflow-text==2.4.2
tensorflow==2.6.0
tensorflow-estimator==2.6.0
tensorflow-hub==0.12.0
textattack==0.3.2
transformers==4.9.1
pillow>=8.2.0
tensorflow-text==2.6.0
sentence-transformers==2.0.0
transformers==4.10.1
textattack==0.3.3
sqlitedict==1.7.0
stanza==1.2.3
Cython==0.29.24

0 comments on commit 6e70487

Please sign in to comment.