Welcome to the DataHaven Documentation repository! This repository contains the source files for the DataHaven docs site, built with MkDocs and Material for MkDocs.
It includes the documentation content, written in Markdown, along with related images and example code. The theme and framework configurations live in the datahaven-mkdocs repository.
├── .snippets/ # Code and text snippets referenced in docs
│ ├── code/
│ └── text/
├── images/ # Images used in docs
├── <section>/ # Top-level section folder (e.g., `manage-stored-data`,`provide-storage`)
│ ├── nav.yml # Navigation definition for this section
│ ├── index.md # Section landing page
│ ├── <page>.md # Documentation pages within this section
│ └── ...
├── .nav.yml # Navigation definition for top-level sections
├── index.md # Main landing page
├── README.md
└── variables.yml # Reusable variables used in docsNotes:
- Each section folder contains its Markdown pages, an
index.mdlanding page, and a.nav.ymlfile defining page titles and their order. - Snippets and images mirror the structure of the documentation, making it easy to reference them.
To preview the documentation site locally:
-
Clone the
datahaven-mkdocstheme repository:git clone https://github.com/papermoonio/datahaven-mkdocs.git
-
Clone the
datahaven-docsrepository and place it under thedatahaven-mkdocsdirectory:datahaven-mkdocs └── datahaven-docs
git clone https://github.com/datahaven-xyz/datahaven-docs.git
-
Install dependencies:
pip install -r requirements.txt
-
Serve the site:
mkdocs serve
Open http://127.0.0.1:8000 in your browser to view the docs. Any changes to Markdown files, snippets, or images will automatically update in the local preview.
This project is licensed under the GPL-3.0 License.