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

Add documentation to ExperimentDescriptionAPI #3679

Merged
merged 4 commits into from
Jun 7, 2017

Conversation

scottpurdy
Copy link
Contributor

@rhyolight please advise on how to properly link to other source files and how to properly format the parameters and their lists of keys.

fixes #3678
fixes NUP-2430

@scottpurdy scottpurdy requested a review from rhyolight June 7, 2017 18:19
Copy link
Member

@rhyolight rhyolight left a comment

Choose a reason for hiding this comment

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

As-is, the RST renders pretty nasty. Please merge scottpurdy#8

RST formatting on exp-description-api
@scottpurdy
Copy link
Contributor Author

@rhyolight - merged your suggestions. What about the references to other source files? Is there a way to make those links?

@rhyolight
Copy link
Member

rhyolight commented Jun 7, 2017

Yes, it is typically:

:class:`full.namespace.ClassName`
:mod:`full.namespace`
:meth:`full.namespace.ClassName.methodName`

If you don't want the full namespace to each thing displayed, use ~:

:class:`~full.namespace.ClassName`
:mod:`~full.namespace`
:meth:`~full.namespace.ClassName.methodName`

@scottpurdy scottpurdy merged commit f0d9715 into numenta:master Jun 7, 2017
@scottpurdy scottpurdy deleted the exp-description-api-docs branch June 7, 2017 20:10
in the experiment files that are passed to it.
The :mod:`~nupic.frameworks.opf.experiment_runner` takes an instance of
this class as the description of the experiment to run. Similarly,
`scripts/run_opf_experiment.py` looks for an instance of this class in a
Copy link
Member

Choose a reason for hiding this comment

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

you can use double ticks to code-format something:

this is not code ``but this is``.

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.

Document ExperimentDescriptionAPI
2 participants