Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Update makefile with autodocs, additional tweaks #70

Merged
merged 7 commits into from
Feb 7, 2019

Conversation

diego-plan9
Copy link
Member

Summary

Update the Makefile for better supporting the generation of autodocs, allowing passing the paths for the individual components and finer-grained control of the generation.

Details and comments

Performed an initial run against an environment where the packages are installed via pip, making some tweaks accordingly:

  • remove unused .rst and .png files
  • fix missing files (the only one other than autodoc references was aqua contributors) and update broken (internal) links

Some structure/warnings are included as well in this PR:

  • move images to a single directory
  • replace ipython3 blocks with python

Misc documentation fixes:
* include aqua contributors (copying the file from their repository,
  fixing links).
* remove files not used in the build.
* update images.
Move the images coming from the jupyter conversions to a single
directory, at `images/figures`, for tidying up the structure (can be
recreated using the `output_files_dir` parameter for nbconvert).
Update "make autodoc" by depending on three new targets, one for each
project that has a different import path, allowing overriding the
location via environment variables.
Update aqua and chemistry .rst pointing to the autodoc modules.
Replace the `.. code:: ipython3` blocks with `.. code:: python` (can
be recreated using `NbConvertBase.default_language` configuration
option).
@jaygambetta jaygambetta merged commit dc88232 into Qiskit:master Feb 7, 2019
@diego-plan9 diego-plan9 deleted the fix/doc-tweaks branch February 7, 2019 16:05
jakelishman pushed a commit to jakelishman/qiskit-terra that referenced this pull request Aug 11, 2023
…ackage#70)

* Documentation fixes

Misc documentation fixes:
* include aqua contributors (copying the file from their repository,
  fixing links).
* remove files not used in the build.
* update images.

* Move images to a single directory

Move the images coming from the jupyter conversions to a single
directory, at `images/figures`, for tidying up the structure (can be
recreated using the `output_files_dir` parameter for nbconvert).

* Update makefile to handle autodoc per project

Update "make autodoc" by depending on three new targets, one for each
project that has a different import path, allowing overriding the
location via environment variables.
Update aqua and chemistry .rst pointing to the autodoc modules.

* Replace code blocks from ipython3 to python

Replace the `.. code:: ipython3` blocks with `.. code:: python` (can
be recreated using `NbConvertBase.default_language` configuration
option).

* Fix makefile phony target
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants