Skip to content

Commit

Permalink
Fix en docs (PaddlePaddle#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaoshuang authored May 15, 2020
1 parent 47390da commit db9a427
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/en/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
rm -rf $(BUILDDIR)/html/index.html
4 changes: 2 additions & 2 deletions docs/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# The short X.Y version
version = u''
# The full version, including alpha/beta/rc tags
release = u'1.0'
release = u''

# -- General configuration ---------------------------------------------------

Expand Down Expand Up @@ -58,7 +58,7 @@
#source_suffix = '.rst'

# The master toctree document.
master_doc = 'index_en'
master_doc = 'index'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 0 additions & 2 deletions docs/en/index_en.rst → docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ Index
tutorials/index_en
api_en/index_en
model_zoo_en.md

.. mdinclude:: intro_en.md
1 change: 0 additions & 1 deletion docs/zh_cn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
rm -rf $(BUILDDIR)/$@/index_en.html
2 changes: 1 addition & 1 deletion docs/zh_cn/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# The short X.Y version
version = u''
# The full version, including alpha/beta/rc tags
release = u'1.0'
release = u''

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit db9a427

Please sign in to comment.