summaryrefslogtreecommitdiffstats
path: root/common/waf.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-01waf: Fix argument bug getting extra source.Chris Johns1-1/+1
2019-02-28waf: Add support for extra and excluded sources.Chris Johns1-14/+32
2019-02-28waf: Change --sphinx-verbose to --sphinx-options, add --sphinx-nit-pickChris Johns1-13/+28
Provide options to manage sphinx. Make using the nit-picky mode simpler to access.
2019-02-28waf: Fix building the images in the src path.Chris Johns1-2/+1
2019-02-06Fix building with Sphinx 1.8 and later.Chris Johns1-11/+28
- Provide the pytnon.ist file for makeindex. - Add support for xelatex building so we can switch if we want too. Closes #3669
2019-01-09Replace build date with Git hash and commit dateSebastian Huber1-20/+2
The usage of a build date prevents reproducible builds.
2018-12-18common/waf.py: Fix indentation.Christian Mauderer1-1/+1
Python 3 produces an error if indentation is mixed tabs and spaces.
2018-12-05Fix error messages when Sphinx version cannot be checked.Amar Takhar1-2/+2
This is kind of a dual-check since it checks for the version while simultaneously checking to see if Sphinx exists on the system. Changed the error messages to be clear on the error and removed a reference to version which cannot be set due to the check failure. Reported by: Shashvat Jain
2018-11-03waf: Add support to build PlantUML and Ditaa images.Chris Johns1-1/+69
2018-08-21waf: Fix type in single html build.Chris Johns1-1/+1
2018-08-21build: Fix indexing so it works on HTML and PDF.Chris Johns1-32/+44
- Remove all genindex.rst files, these are generated and should not exist in our source. - Fix the HTML templates so the local specialisation works. - Add a index link to the sidebar for HTML. Note, there is no TOC entry for the index in the PDF output and I cannot figure out how to add one. Closes #3503
2018-03-09RTEMS Docs: Check sphinx versionRichard Campbell1-4/+23
Sphinx.util.compat module was removed at Sphinx version 1.7. Imported module was not being used. Closes #3311.
2017-10-12build: Add extra source to the sphinx build.Chris Johns1-11/+11
Updates #3177.
2017-08-11coverpage: Fix repeated entries.Chris Johns1-2/+2
Closes #2865.
2017-08-09Revert "Add the sphinxcontrib.bibtex extension to the repo."Chris Johns1-0/+1
This reverts commit aa4f8e2e436d6c49e1524a4a3fb164b28632d894. The contrib has too many dependencies to add into the repo.
2017-08-07Add the sphinxcontrib.bibtex extension to the repo.Chris Johns1-1/+0
2017-03-27Add Windows build details.Chris Johns1-1/+1
Actually include the quoting fix for Windows.
2017-03-27waf: Fix linkcheck and spell commands.Chris Johns1-45/+19
Clean up and remove code that is not needed. Fix sphinx-build quoting to work on Windows.
2017-03-21waf: Create the sphinx rule in one place.Chris Johns1-11/+11
2017-03-20Use a single top level version number.Chris Johns1-11/+32
2017-03-15waf: Configure check the inliner only once.Chris Johns1-5/+7
2017-02-25Add a check for Sphinx extensions.Chris Johns1-15/+44
Minor clean up of the configure messages. Do not re-check sphinx in the nested configures.
2017-01-10waf: Add a title to the XML Catalogue.Chris Johns1-1/+6
2017-01-10waf: Improved XML Catalogue generator.Chris Johns1-44/+41
2017-01-09waf: Create an XML Catalogue.Chris Johns1-0/+78
2016-11-09waf: Users without the extra fonts need to use '--disable-extra-fonts' to ↵Chris Johns1-1/+4
build PDF.
2016-11-08waf: Use the good fonts if installed.Chris Johns1-6/+12
2016-11-06waf: Add support to handle missing Latex packages on hosts they are not ↵Chris Johns1-95/+21
available on. It appears the support for texlive packages on some hosts is variable. This patch lets us add missing packages to our source tree so a PDF can be built on those hosts. The quality of the PDFs created may vary as some short cuts may have been take. For example lato is a font and only the sty file as been added and not the actual font which means it's use will default to another font.
2016-11-04waf: Check for texlive packages and report an error is not found.Chris Johns1-6/+106
2016-11-04waf: Fix the bnode issue when building in a manual directory.Chris Johns1-1/+1
2016-11-03waf: Use separate doctrees so avoid sphinx clashes.Chris Johns1-10/+11
2016-11-03waf: Have configure set building pdf and/or singlehtml.Chris Johns1-206/+247
Move selecting pdf and singlehtml to the configure stage so it is sticky for all builds. This means a top level build will always build all formats that have been configured. Do not complete the configure stage if tools are missing for the configured output. Add singlehtml support using the inliner tool. It is nice. Remove the groups as waf can track the dependences. This lets the manuals build in parallel.
2016-11-02waf: Fix the sphinx verbose option.Chris Johns1-2/+8
2016-10-31waf: Add an install command.Chris Johns1-43/+67
2016-10-30waf: Add top build support.Chris Johns1-16/+44
2016-10-29waf: Update to support a recent waf.Chris Johns1-2/+2
2016-10-27common/waf.py: Improve Sphinx version parsing to work with their git masterJoel Sherrill1-2/+2
2016-09-09waf: Fix for waf-1.9.3.Chris Johns1-1/+1
2016-05-18Move images to a common directory.Amar Takhar1-4/+16
2016-05-02Switch to using Minted and splitting long lines in verbatim.Amar Takhar1-0/+2
2016-05-02Run through 2to3.Chris Johns1-1/+1
2016-05-02Generate a fatal error on a Sphinx beta version that cannot be parsed.Chris Johns1-3/+5
2016-05-02Add 'waf linkcheck' to check external references.Amar Takhar1-1/+15
2016-05-02Remove incorrect pdflatex/makeindex check.Amar Takhar1-4/+0
2016-05-02Only require makeindex and pdflatex when trying to build PDF.Amar Takhar1-3/+3
2016-05-02Add support for singlehtml (inlined) HTML file, plus some other fixes.Amar Takhar1-36/+62
* This is still broken. * Rename sphinx_rtd_theme so it doesn't pickup locally installed ones * Add a hack to theme.css to get around inliner bug. * Some unrelated fixups in common/waf.py Unfortunatly several dozen fixes got merged into this.
2016-05-02Fix typo and add another dependency.Amar Takhar1-2/+2
2016-05-02Add minimum version check for Sphinx.Amar Takhar1-1/+24
Some distributions have ancient versions we require at least 1.3.
2016-05-02Add PDF generation support use with --pdfAmar Takhar1-16/+47
2016-05-02Add support for spellchecking with a custom dictionary.Amar Takhar1-2/+35
To use: 1. Install aspell 2. waf spell <list of files> * waf spell mydoc.rst * waf spell *.rst This uses a custom dictionary stored in common/spell/dict/. We should add all RTEMS and programming terms to this to ensure we are consistent. Amar.