summaryrefslogtreecommitdiff
path: root/doc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* doc/Makefile: Stage stored sessions from session-storedtristan/getting-startedTristan Van Berkom2018-06-161-5/+18
| | | | | | | Separate the revisioned provisional session html files such that the git tree does not become dirty as a result of a documentation build process - which messes up the docs version number and the version number printed in some command line output.
* doc: Adding part 1 of the getting started tutorialTristan Van Berkom2018-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | o doc/Makefile: Added new directory to collect rst files from o doc/examples/first-project: Added the "first-project" example project. o doc/source/sessions/first-project-*.html: Added the generated snippets o doc/source/using_tutorial.rst: Added the new main tutorial page o doc/source/tutorial/first-project.rst: Added part 1 of the tutorial here o tests/examples/first-project.py: Added test for the example project This is largely based on an example by Javier Jardón, which was submitted at https://gitlab.com/BuildStream/buildstream/merge_requests/323 Fixes #103
* doc/bst2html.py, doc/Makefile: Added --force optionTristan Van Berkom2018-06-161-3/+9
| | | | | | | | | | | If --force is not specified, then we'll skip session files in the case that all of the outputs exist. Now setting BST_FORCE_SESSION_REBUILD when building the docs will cause the session files to be rebuilt regardless of whether they exist or not. The .gitlab-ci.yml was also changed to use this and force rebuilds.
* doc/Makefile: Fixed loop over session filesTristan Van Berkom2018-06-141-1/+1
| | | | This list needs to not be quoted.
* doc: Improve the new console output html generatorTristan Van Berkom2018-06-131-14/+12
| | | | | | | | | | Before we were creating one description file for each output, making it easier to declare a make rule for it - but the result was that we would have to build things more and it takes a long time. Instead, now we have session files which describe a series of commands to run in a session, and each command optionally produces an output file.
* doc/source/examples.rst: Restructuring individual examples into an examples ↵Tristan Van Berkom2018-06-121-0/+1
| | | | subdirectory
* doc/Makefile: Run bst2html.py to generate .html files from .run filesTristan Van Berkom2018-06-121-2/+22
| | | | | | If you need an example output of bst to put in the documentation, just add a .run file to the doc/examples directory and it will result in a similarly named .html file in doc/source/examples.
* doc: Stop generating the modules indexTristan Van Berkom2018-06-091-1/+1
| | | | | We still have a few unused artifacts in the docs generation, this is just one less.
* doc: Added plugins as ToC elements instead of orphaned linksTristan Van Berkom2018-06-091-3/+2
| | | | | | | | | | | | o Now the page titles are declared in plugins, allowing for a more descriptive ToC o Makefile and plugin.rsttemplate updated to not produce the title, to no longer use `:orphan:` for plugin pages, and to ignore any private modules in the plugin directories. o Interestingly, now the docs will fail to build if you add a new plugin and forget to add it to the documentation.
* Documentation: Removing the sphinx-build3 scriptTristan Van Berkom2018-01-051-17/+13
| | | | | Instead add a comment about why this is really there, and invoke sphinx python modules with python3 directly.
* Documentation: Fix warnings, and make all warnings errors.Tristan Van Berkom2018-01-051-1/+1
| | | | | | | | | | Some of the warnings from sphinx-build are really just warnings, but a lot of the things we want to avoid and really break documentation, like broken internal references and some invalid rst directives should really be errors. Now we treat all warnings as errors, this should ensure that any commits landing upstream never break the docs.
* doc/Makefile: Now output devhelp docs as well as online html docsTristan Van Berkom2017-09-011-10/+14
|
* documentation: Set page titles manually in python modules.Tristan Van Berkom2017-08-311-1/+1
|
* Docs Makefile: Dont generate plugin skeletons for __init__.pyTristan Van Berkom2017-05-251-1/+1
| | | | | | Now that the sources and plugins directories have an __init__.py in them, they appear in the documentation module index, just dont generate any rst templates for them anymore.
* Added __init__.py to the plugin subdirectories.Tristan Van Berkom2017-05-241-11/+13
| | | | | | | | | | | This makes the 'sources' and 'elements' subdirectores modules technically, but it does not effect how we load them with pluginbase, that still works. Updated documentation machinery to have buildstream/plugins in the PYTHONPATH and import the docs as elements.autotools etc. This is all because since recent sphinx started importing from distutils, this was conflicting with our distutils plugin.
* Sphinx to not assume python3 is the default python versionAndrew Leeming2017-01-041-0/+18
| | | | | | Adding in experimental makefile and sphinx script to explicitly run using python3 instead of assuming the python command points to a python3.x binary
* Docs hackingTristan Van Berkom2016-12-131-2/+32
| | | | Replace sphinx-apidoc for plugin API docs generation.
* documentation Makefile: Getting all the docs builtTristan Van Berkom2016-11-091-210/+18
| | | | | Build main buildstream package documentation in source, Build element and source plugins into separate directories.
* Adding sphinx doc stuffTristan Van Berkom2016-11-081-0/+229