Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable readthedocs support #1037

Merged
merged 13 commits into from
Jan 11, 2019
Merged

Conversation

michaeldboyd
Copy link
Contributor

First, I recognize that this looks like a large PR, but the changes I've made were pretty simple.

As discussed in the HIPE 0025-indy-docs-framework we would like to have a centralized site for our documentation. The changes I have made are outlined in that HIPE.

Here, you will see a couple of things:

  • within the docs/ directory, I've added a source/ directory for our documentation that should be hosted online, for users and contributors. With this way, the docs/ directory can also be used for other documents that may not need to be on our user-facing documentation site. Perhaps for more technical docs meant only for maintainers. I've added the new documentation to it as well.
  • Fixed links to the docs/ directory within the READMEs
  • Most of the files changed are just name changes because of the source directory addition.

The significant files added are

  • docs/source/conf.py - provides configuration details for sphinx and readthedocs
  • docs/README.md - describes how to contribute to the documentation
  • docs/source/index.rst - used to define the documentation structure online.

Thanks for taking the time to review!

michaeldboyd and others added 10 commits November 26, 2018 16:19
Signed-off-by: michael <michael.boyd@sovrin.org>
Signed-off-by: michael <michael.boyd@sovrin.org>
Signed-off-by: michael <michael.boyd@sovrin.org>
Signed-off-by: michael <michael.boyd@sovrin.org>
…tory, added readme

Signed-off-by: michael <michael.boyd@sovrin.org>
Signed-off-by: michael <michael.boyd@sovrin.org>
Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
@ghost
Copy link

ghost commented Dec 18, 2018

Could one of the committers please verify this patch?

@evernym-ci
Copy link
Contributor

Can one of the admins verify this patch?

docs/source/diagrams/index.rst Show resolved Hide resolved
@@ -19,9 +19,9 @@ system, whereas Fabric is general purpose.

## Technical Overview of Indy Plenum

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense to put a reference to http://hyperledger-indy.readthedocs.io/projects/plenum here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've put a link to https://indy.readthedocs.io/projects/plenum/en/latest/index.html that takes people to my current forks for now. Once everything is merged in and we have the real site up, I'll add the right url that is built off of the hyperledger repos.


Contributors should write an addition to a current file or add a new file to the docs/source/ folder that explains what their feature is and how it works. If needed, they may also add a link to more technical README's located nearer to the code.

Whenever additions are made to the docs, make sure to update the `index.rst` in whichever folder the file has been added, and build the docs locally to confirm they work (TODO: add the `sphinx-build` command to our CI/CD flow).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand correctly that for now updating the docs on readthedocs is a manual process, and we expect it to be part of CI/CD soon? Who is responsible for updating the readthedocs while it's not automated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readthedocs website has a webhook integration feature. The docs will automatically be rebuilt whenever a PR is merged into the repository.


.. toctree::
:maxdepth: 2

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the following order would be more convenient:
main.md
glossary.md
diagrams/index.rst
request_handling.md
storage.md
catchup.md
message_requests.md
plugins.md
start_nodes.md
recorder.md
misc/zeromq_features.md

@ashcherbakov
Copy link
Contributor

(ci) test this please

Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
@ashcherbakov
Copy link
Contributor

@michaeldboyd Can you please resolve the conflict with start_nodes?

Signed-off-by: Michael Boyd <michaeldavisboyd@gmail.com>
@michaeldboyd
Copy link
Contributor Author

All comments have been attended to

@ashcherbakov
Copy link
Contributor

(ci) test this please

1 similar comment
@ashcherbakov
Copy link
Contributor

(ci) test this please

@ashcherbakov ashcherbakov merged commit 6786f30 into hyperledger:master Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants