-
Notifications
You must be signed in to change notification settings - Fork 13
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
Moving documentation that is not specific to phys2bids here #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I wonder if we should expand on the types of contributions in another PR 🤔 the ones we have are quite programming-oriented.
Question: how can we see the rendered files? |
@smoia I am clueless to be honest. First time I work on a GitHub.io website. I didn't build anything. |
I didn't manage to build locally. I got some errors I still have to go through. |
Ok, let me know when you figured it out! I'd like to see it before approving! 😉 |
I managed to run it locally. Apparently, I tried installing the plugins on my own and one of them (the toc-sidebar plugin) has a bug. If you Dp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sangfrois , I was able to build locally and I see we have some issues.
Basically, we have to point to the correct filenames in mkdocs.yml
. I can also see one last reference to niPreps on this same file. We're also missing the contributing.md
in the nav
.
For contributorfile.md
we're gonna have to update the way we write titles for the TOC to work. The titles in the code of conduct are correct, you can use them as a reference.
We're missing the best practices page in the nav
too.
We should probably remove the New features
page.
I did not know what you meant by changing the titles in Also, I can't build it eventhough I have all the dependencies. So I'm kind of blind here. |
You will need to build the pages to see what I mean. Basically, they do not appear on the table of contents on the right-hand side. My guess is it's related to the Markdown styling you used (maybe coming from the pandoc command).
Did you pip install the |
@eurunuela my environment was clobbered and now I'm on a linux machine and everything works fine 💯 Now, I see that links are working properly and Table of Contents are generated automatically. The It translated to : So I had to change it like this : |
@smoia I would suggest we merge this and plan with all the physiopy folks (in our next meeting) what to add next. Does that make any sense to you ? |
- phys2bids: docs/libraries/phys2bids.md | ||
- phys2denoise: docs/libraries/phys2denoise.md | ||
- peakdet: docs/libraries/peakdet.md | ||
- phys2bids: 'https://phys2bids.readthedocs.io/en/latest/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, I thought we'd have an introductory page with the link to the "real" phys2bids
documentation in it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, well I gave it a try. Sorry, i didn't mention that in my comments. I was thinking of suggesting we describe libraries in the Home index.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can still change it before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, well I gave it a try. Sorry, i didn't mention that in my comments. I was thinking of suggesting we describe libraries in the Home
index.md
That's a good option too. I like the idea. Then the tabs will direct to the "real" docs of each package. I like it!
I think that's the most sensible step forward right now. Once the structure is set, any contributor can open a PR for a specific page in the docs for example. |
That's what I thought, something was wrong with the installation. Thank you so much! |
What's your take on this @smoia ? Shall we merge already? |
@eurunuela is there a decision on merging? |
I'd merge now... okay, let me make sure it looks right one last time and I'll merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think once I commit the suggestion we're good to go.
docs moved :
phys2bids/docs/CODE_OF_CONDUCT.rst
becamephysiopy/docs/community/CODE_OF_CONDUCT.md
phys2bids/docs/contributorfile.rsr
becamephysiopy/docs/community/contributorfile.md
phys2bids/docs/bestpractices.rst
becamephysiopy/docs/community/best-practices.md
I used pandoc to translate, e.g. while just outside both repo
pandoc git/phys2bids/docs/bestpractice.rst -f rst -t markdown -o git/physiopy/docs/community/best-practices.md
I'm creating an issue in phys2bids so that folks can discuss what should be removed from phys2bids documentation, following this.
Small PRs towards BIG CHANGES
Obviously, this reorganization has to be done in multiple PRs. Let me outline some things I thought about :
Include a brief description of the community in
docs/index.md
Include redirection to each library in
libraries/*.md
Include versions and releases details under
devs/
Include a section on electrodermal activity in
community/best-practices.md
Also :
I tried running
mkdocs serve
to run the thing locally and got errors related to my environment. I didn't to clobber it on a friday afternoon (...again) so I'm stopping here.