https://github.com/aramis-lab/tuto-doc
Toy library for documentation tutorial (summer 2025)
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.3%) to scientific vocabulary
Repository
Toy library for documentation tutorial (summer 2025)
Basic Info
- Host: GitHub
- Owner: aramis-lab
- License: mit
- Language: Python
- Default Branch: main
- Size: 146 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 7
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
ARAMIS documentation tutorial
Last update: July 2025.
The current version of the tutorial is available here.
How to maintain this repository?
There are three branches:
- code that contains the Python code of the toy library neuroplot, that we
use here for the tutorial. There is nothing related to documentation here.
- doc that contains the checkpoints of the tutorial.
- main that contains the final result of the tutorial, as well as the tutorial itself (in docs/tutorial).
Three key points:
- main contains doc that contains code. Never merge main in doc, and doc in code.
- As doc contains the checkpoints in a sequential way, commit history is essential in doc. When you make changes to this branch, take care to preserve the story as much as possible.
- In the tutorial, we refer to checkpoints via commit hashes of the doc branch. So, if you change the history of doc, you must update the hashes in the tutorial (docs/tutorial on main).
If you want add a new step to the tutorial
- Do the step on
docto add a new checkpoint corresponding to this step. - Merge
docinmain. It will update the final result of the tutorial, that now takes into account the new step. - Update
docs/tutorialonmainto add a page describing the new step. - Push
docandmain. Here you don't change the history, so a simplegit pull+git pushis enough.
If you want to make a modification to the Python code
- Make your changes on
code, then rebasedoconcode. The history of code will then be rewritten, taking into account the modifications made on the initial code. - Use
git push --forceto also rewrite the history oforigin/doc. - Then, merge
docinmain. - Update the commit hashes in the tutorial (
docs/tutorialonmain). This is necessary, because history ofdocwas rewritten. - Push
mainandcode(here a simplegit pull+git pushis enough).
If you want to modify a checkpoint
Try not to, but if you really need to modify an old checkpoint on doc:
- Start an interactive rebase with
git rebase -i <commit-hash-to-your-checkpoint>. - In the editor, change "pick" to "edit" for the commit you want to modify.
- Make your modifications, and commit.
git rebase --continueto continue the rebase (if there are conflicts with the following commits).- Once the rebase is done,
git push --forcethedocbranch to also rewrite the history oforigin/doc. - Merge
docinmain, andpushmain.
To check that doc and main did not diverge
main should contain the result of the tutorial, and doc contains the last checkpoint of the tutorial.
So doc and main should be very close. The only differences should be in docs/tutorial and docs/index.rst.
To make sure that they have not diverged, use: git diff --name-only main doc
Owner
- Name: ARAMIS Lab
- Login: aramis-lab
- Kind: organization
- Location: Paris, France
- Website: www.aramislab.fr
- Twitter: AramisLabParis
- Repositories: 21
- Profile: https://github.com/aramis-lab
The Aramis Lab is a joint research team between CNRS, Inria, Inserm and Sorbonne University and belongs to the Paris Brain Institute (ICM).
GitHub Events
Total
- Delete event: 3
- Push event: 41
- Pull request event: 4
- Fork event: 8
- Create event: 7
Last Year
- Delete event: 3
- Push event: 41
- Pull request event: 4
- Fork event: 8
- Create event: 7
Issues and Pull Requests
Last synced: 11 months ago