-
Notifications
You must be signed in to change notification settings - Fork 5
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
Documentation #68
Documentation #68
Conversation
@jgosmann could you rebase this to master, so I can start updating the documentation? I would do it myself, but I'm afraid I might do it wrong. It needs to be rebased, because otherwise it tries to import |
rebased and force pushed |
The Thalamus module has a really weird looking docstring:
What does On the same topic, do we want to document objects as being from |
Note: my latest push is going to break Travis because it depends on the Basal Ganglia accessor PR. |
Shall one of us rebase this branch to master? (Otherwise Travis-CI will spam me with an email for every commit.) |
Yes please. If you get this one, I promise to squash all my gross commits
before you need to review.
…On 8 Nov 2017 22:32, "Jan Gosmann" ***@***.***> wrote:
Shall one of us rebase this branch to master? (Otherwise Travis-CI will
spam me with an email for every commit.)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#68 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1Haf_OhPbxprHmw4flPCJE9xMx2558ks5s0nI9gaJpZM4OycLb>
.
|
Do you want me to do it? You should have pushed all your work beforehand because otherwise you might lose it (though it is hard to lose it completely in git) or merging might be very annoying. |
Yep. I've pushed all my work.
…On 8 Nov 2017 22:38, "Jan Gosmann" ***@***.***> wrote:
Do you want me to do it? You should have pushed all your work beforehand
because otherwise you might lose it (though it is hard to lose it
completely in git) or merging might be very annoying.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#68 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1HaZ6p8-fNbWO9Xu0XaXEYOVNDeaaoks5s0nO2gaJpZM4OycLb>
.
|
Force pushed the rebased version. No conflicts whatsoever. 😏 |
Now that the new syntax has been merged, should this be rebased yet again? |
Yeah |
aa75bcf
to
f368a71
Compare
Has been rebased to master. |
@bjkomer I updated the introduction coming from legacy SPA to the new syntax in this PR. Might be of interest to you. |
Actually Nengo does not install the examples.¹ Not sure why ¹: This means that you cannot test the examples of in an installed Nengo package. While I think that we want the tests in general to be available in the install for testing backends, the tests are probably not essential (all the functionality should be tested by the other tests; testing the examples is mainly to ensure the examples are up to date and work with the current Nengo version). For Nengo SPA I'm leaning towards not including any documentation, examples, or tests in the install. Most people will access the documentation and examples online anyways. We can add a download link to the documentation (which will be hosted on Github and Github provides links to download the branch of a repository as zip). This would then include the examples; the Jupyter notebook files can be downloaded from within the documentation. The tests are only required for development and in that case one is working on a git clone anyways. |
I agree with the direction you're leaning in.
…On Wed, Apr 18, 2018 at 5:14 PM, Jan Gosmann ***@***.***> wrote:
Actually Nengo does not install the examples.¹ Not sure why zip_safe=False
was set, but it can't because of the examples. zip_safe=False has to be
used if a Python package contains files that need to be accessible as
actual files in the file system. Without, the Python package may be
installed as an egg which is basically a zip file with all the contents
(thus, the files cannot be directly accessed, but need to be unzipped when
read).
¹: This means that you cannot test the examples of in an installed Nengo
package. While I think that we want the tests in general to be available in
the install for testing backends, the tests are probably not essential (all
the functionality should be tested by the other tests; testing the examples
is mainly to ensure the examples are up to date and work with the current
Nengo version).
For Nengo SPA I'm leaning towards not including any documentation,
examples, or tests in the install. Most people will access the
documentation and examples online anyways. We can add a download link to
the documentation (which will be hosted on Github and Github provides links
to download the branch of a repository as zip). This would then include the
examples; the Jupyter notebook files can be downloaded from within the
documentation. The tests are only required for development and in that case
one is working on a git clone anyways.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#68 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1Haenltb1vlg7gok8Dtq2PcHRvAtXxks5tp9b9gaJpZM4OycLb>
.
|
Excluded examples, tests, docs from install. Fixed the tests (I think, we'll see what Travis and AppVeyor think). Should be ready for final review ... |
Oh, and AppVeyor is working again. It didn't like the rename of the repository from nengo_spa to nengo-spa. |
New changes LGTM. Are we going to wait for a review of @tcstewar before merging? |
Probably not, except @tcstewar is exceptionally fast. (We can always make changes to the documentation later, and it is an improvement on the current state.) |
Still todo: * nengo_spa.vocab (except for Vocabulary) * nengo_spa.networks * nengo_spa.modules
This commit removes the extraction script for the notebooks. Revert "Add cmd interface to extract examples." This reverts commit a74b72a. Decided to not include examples, docs, or tests in the installed packages. Docs and examples can accessed online and downloaded from there which is easier to discover than how to extract these things from an installed package. The tests are only required for development which will be done on a git clone rather than an installed package.
Tolerance was too low, should be more accurate with dimensions doubled.
Added one more commit because a test was failing after squashing the fixup commits. @Seanny123 still looks good to you? |
Yep, still good.
…On Fri, Apr 20, 2018, 10:49 Jan Gosmann, ***@***.***> wrote:
Added one more commit because a test was failing after squashing the fixup
commits. @Seanny123 <https://github.com/Seanny123> still looks good to
you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#68 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1HaWOn3talNANx0owkZvwhmKWN8Iasks5tqgORgaJpZM4OycLb>
.
|
Motivation and context:
This PR is adding documentation to Nengo SPA and work in progress. Comments, improvements, and help are welcome as I go along.
Interactions with other PRs:
How has this been tested?
How long should this take to review?
Where should a reviewer start?
Types of changes:
Checklist:
Still to do: