Skip to content

Commit

Permalink
Revert "[Polish] Polish docs and changelog (#229)"
Browse files Browse the repository at this point in the history
This reverts commit e29b609.
  • Loading branch information
dreamerlin authored Sep 30, 2020
1 parent e29b609 commit 2a4763e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- Check mmcv version ([#189](https://github.com/open-mmlab/mmaction2/pull/189))
- Update url with 'https://download.openmmlab.com' ([#208](https://github.com/open-mmlab/mmaction2/pull/208))
- Update Docker file to support PyTorch 1.6 and update `install.md` ([#209](https://github.com/open-mmlab/mmaction2/pull/209))
- Polish readsthedocs display ([#217](https://github.com/open-mmlab/mmaction2/pull/217), [#229](https://github.com/open-mmlab/mmaction2/pull/229))
- Polish readsthedocs display ([#217](https://github.com/open-mmlab/mmaction2/pull/217))

**Bug Fixes**
- Fix the bug when using OpenCV to extract only RGB frames with original shape ([#184](https://github.com/open-mmlab/mmaction2/pull/187))
Expand Down
8 changes: 2 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ Welcome to MMAction2's documentation!
install.md
getting_started.md
benchmark.md
config.md

.. toctree::
:maxdepth: 2
:caption: Datasets

data_preparation.md
config.md

.. toctree::
:maxdepth: 2
Expand All @@ -32,6 +27,7 @@ Welcome to MMAction2's documentation!
tutorials/new_modules.md
tutorials/export_model.md


.. toctree::
:maxdepth: 2
:caption: Updates
Expand Down
10 changes: 10 additions & 0 deletions docs/merge_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ sed -i 's=](/=](https://github.com/open-mmlab/mmaction2/tree/master/=g' tutorial

cat localization_models.md recognition_models.md > modelzoo.md
sed -i '1i\# Modelzoo' modelzoo.md

cat index.rst | grep -q "modelzoo.md"
if [ $? -ne 0 ] ;then
sed -i '/api.rst/i\ modelzoo.md' index.rst
fi

cat index.rst | grep -q "tutorials.md"
if [ $? -ne 0 ] ;then
sed -i '/api.rst/i\ tutorials.md' index.rst
fi

0 comments on commit 2a4763e

Please sign in to comment.