Skip to content

Commit deee5db

Browse files
committed
reorder the documents files in docs/LANGUAGE folders and modify the rules in the
Makefile to build the documentation --HG-- rename : docs/source/command_ref.rst => docs/en/command_ref.rst rename : docs/source/developers.rst => docs/en/developers.rst rename : docs/source/extensions.rst => docs/en/extensions.rst rename : docs/source/history.rst => docs/en/history.rst rename : docs/source/hooks.rst => docs/en/hooks.rst rename : docs/source/index.rst => docs/en/index.rst rename : docs/source/install.rst => docs/en/install.rst rename : docs/source/plugins.rst => docs/en/plugins.rst rename : docs/source/scripts.rst => docs/en/scripts.rst rename : docs/source/tips.rst => docs/en/tips.rst rename : docs/source/translations.rst => docs/en/translations.rst rename : docs/source/es/command_ref.rst => docs/es/command_ref.rst rename : docs/source/es/developers.rst => docs/es/developers.rst rename : docs/source/es/hooks.rst => docs/es/hooks.rst rename : docs/source/es/index.rst => docs/es/index.rst rename : docs/source/es/install.rst => docs/es/install.rst rename : docs/source/es/plugins.rst => docs/es/plugins.rst
1 parent 7e42016 commit deee5db

18 files changed

Lines changed: 5 additions & 4 deletions

‎docs/Makefile‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# Makefile for Sphinx documentation
22
#
33

4+
# If doc language is English you don't need to set this variable
5+
LANGUAGE = en
6+
47
# You can set these variables from the command line.
58
SPHINXOPTS =
69
SPHINXBUILD = sphinx-build
710
PAPER =
8-
BUILDDIR = build
11+
BUILDDIR = build/$(LANGUAGE)
912

1013
# Internal variables.
1114
PAPEROPT_a4 = -D latex_paper_size=a4
1215
PAPEROPT_letter = -D latex_paper_size=letter
13-
# If doc language is English you don't need to set this variable
14-
LANGUAGE =
15-
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source/$(LANGUAGE)
16+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(LANGUAGE)
1617

1718
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
1819

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)