https://github.com/aramis-lab/tuto-doc

Toy library for documentation tutorial (summer 2025)

https://github.com/aramis-lab/tuto-doc

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
Last synced: 10 months ago · JSON representation

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
Created about 1 year ago · Last pushed 12 months ago
Metadata Files
Readme Contributing License

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

  1. Do the step on doc to add a new checkpoint corresponding to this step.
  2. Merge doc in main. It will update the final result of the tutorial, that now takes into account the new step.
  3. Update docs/tutorial on main to add a page describing the new step.
  4. Push doc and main. Here you don't change the history, so a simple git pull + git push is enough.

If you want to make a modification to the Python code

  1. Make your changes on code, then rebase doc on code. The history of code will then be rewritten, taking into account the modifications made on the initial code.
  2. Use git push --force to also rewrite the history of origin/doc.
  3. Then, merge doc in main.
  4. Update the commit hashes in the tutorial (docs/tutorial on main). This is necessary, because history of doc was rewritten.
  5. Push main and code (here a simple git pull + git push is enough).

If you want to modify a checkpoint

Try not to, but if you really need to modify an old checkpoint on doc:

  1. Start an interactive rebase with git rebase -i <commit-hash-to-your-checkpoint>.
  2. In the editor, change "pick" to "edit" for the commit you want to modify.
  3. Make your modifications, and commit.
  4. git rebase --continue to continue the rebase (if there are conflicts with the following commits).
  5. Once the rebase is done, git push --force the doc branch to also rewrite the history of origin/doc.
  6. Merge doc in main, and push main.

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

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