GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OSIPI/osipi.github.io: main OSIPI website

BranchesTags
Open more actions menu

Latest commit

 

History

1,508 Commits
1,508 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
.gitignore
.gitignore
 
 
.lycheeignore
.lycheeignore
 
 
Readme.md
Readme.md
 
 
mkdocs.yml
mkdocs.yml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

OSIPI Documentation Hub

This repository centralizes the documentation of OSIPI’s open-source tools for quantitative MRI into a single, consistent hub. It uses MkDocs + Material along with the multirepo plugin to combine documentation scattered across different OSIPI repositories.


Why centralize documentation?

Historically, OSIPI documentation has been spread across many projects, each with its own structure and style. Some sites are static Markdown, others generate pages dynamically (e.g., from galleries or Python docstrings).

A unified hub ensures:

  • One entry point for all OSIPI docs.
  • Consistent theme and navigation.
  • Lower maintenance burden.

Design decisions

1. !import (via multirepo plugin)

We use !import when the target MkDocs site is simple — meaning:

  • It consists only of Markdown files.
  • No dynamic generation of pages (e.g., galleries, API docs from docstrings).
  • No additional pre-rendering steps required.

Example:

- "(TF4.2) Caplex – Contrast-agent based perfusion MRI": '!import https://github.com/OSIPI/OSIPI_CAPLEX?branch=main&docs_dir=docs&multi_docs=True&config=mkdocs.yml&keep_docs_dir=true'

This lets us pull in the entire navigation from another repo’s mkdocs.yml.


2. Hyperlinks only

If the site generates pages dynamically or relies on docstrings, importing would miss content. In these cases, we just link to the published site instead:

- "(TF2.3) DCE/DSC repository":
    - Documentation: https://osipi.github.io/DCE-DSC-MRI_CodeCollection/

This ensures the external site can still evolve independently without breaking our hub.


3. Mixed approach (possible, but avoided here)

It’s possible to combine the two approaches:

  • Import static Markdown from a repo.
  • Link out to the dynamically generated sections.

Example:

- multirepo:
    nav_repos:
      - name: osipi-python-package
        import_url: https://github.com/OSIPI/osipy?branch=main
        imports: [
          docs/index.md, docs/user-guide/*, docs/about/index.md
        ]

nav:
  - OSIPI Python package:
      # here we are not redirecting, but pulling the markdowns
      - Overview: osipi-python-package/docs/index.md
      - User Guide: osipi-python-package/docs/user-guide/index.md
      # below we are redirecting with hyperlink
      - References: https://osipi.github.io/osipy/references/
      - Examples: https://osipi.github.io/osipy/generated/gallery/

This works, but it clutters mkdocs.yml and introduces complexity. For now, we keep it simple:

  • Use !import for simple MkDocs sites.
  • Use links for complex sites.

Running locally

1. Create a Virtual Environment

python -m venv venv

2. Activate the Virtual Environment

  • macOS/Linux:

    source venv/bin/activate
  • Windows (Git Bash):

    source venv/Scripts/activate

3. Install Dependencies

pip install -r requirements.txt

4. Serve the Documentation

mkdocs serve

The site will be available at http://127.0.0.1:8000

5. (Optional) Deactivate

deactivate

About

main OSIPI website

osipi.github.io

Topics

mriperfusion

Resources

Readme
Activity
Custom properties

Stars

7 stars

Watchers

8 watching

Forks

39 forks
Report repository

Used by

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.