Skip to content
Snippets Groups Projects
  1. Nov 29, 2018
    • David Douard's avatar
      Put swh dependencies in a dedicated extra requirements · 53326b7d
      David Douard authored
      to prevent weird race condition when both requirements-swh.txt and
      requirements-swh-dev.txt are added as requirements.
      
      This is needed to make:
      
        tox -e sphinx-dev
      
      work as expected, ie. with swh packages installed from sources rather than
      from pypi.
      53326b7d
  2. Nov 28, 2018
  3. Nov 23, 2018
    • David Douard's avatar
    • David Douard's avatar
      tox: add a sphinx-dev tox environment · 0e0c8548
      David Douard authored
      that builds the doc using source code repos located one directory above
      instead of published versions of swh subpackages.
      
      Related to T1330.
      0e0c8548
    • David Douard's avatar
      make-doc: refactor doc build system to build the doc as a whole · 891ad17c
      David Douard authored
      - back to assets only building in each package
      - run sphinx-autodoc on the whole swh package at once
      
      we do not really need a local standalone buildable sphinx project in each swh
      subpackage, so running a full 'make html' in each of them is not required any
      more.
      
      Since we want to build the doc at once instead of building each swh subpackage
      independantly, we need to run apidoc on the whole swh package.
      
      This is done by actually running the apidoc on the pip installed swh
      packages instead of the source repositories, since sphinx-apidoc does
      not seem to support multiple MODULE_PATH as cmdline argument.
      
      So it's best to use tox to build the doc.
      
      Related to T1330.
      891ad17c
Loading