Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
submodules: false

# Don't recurse as hololinked references this docs repo back as a submodule,
# --checkout is needed as the submodule is set to update = none in .gitmodules
- name: Check out the repo submodule
run: git submodule update --init --depth 1 repo/hololinked
run: git submodule update --init --checkout --depth 1 repo/hololinked

- name: Install cosign
if: github.event_name != 'pull_request'
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "hololinked"]
path = repo/hololinked
url = https://github.com/hololinked-dev/hololinked.git
update = none
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
# hololinked docs

Documentation in material mkdocs for [hololinked](https://github.com/hololinked-dev/hololinked).
Documentation in zensical for [hololinked](https://github.com/hololinked-dev/hololinked).

The build installs hololinked from the `repo/hololinked` submodule. It is not checked out by default, not even with `--recurse-submodules`, because hololinked refers back to this repository as a submodule. Check it out explicitly:

```bash
git clone https://github.com/hololinked-dev/docs.git
cd docs
git submodule update --init --checkout repo/hololinked
```

To build the documentation, while setting up a local development environment with `uv` (`pip install uv`), run:

```bash
uv venv
source .venv/bin/activate # or venv\Scripts\activate on Windows
uv sync --no-install-project
mkdocs build
zensical build
```

or

```bash
mkdocs serve
zensical serve
```

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/hololinked-dev/docs/ci.yaml?label=Build%20And%20Publish%20Website)
Expand Down
11 changes: 8 additions & 3 deletions docs/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@ conda install -c conda-forge hololinked
One may also clone it from github & install directly (in develop mode):

```sh
git clone --no-recurse-submodules https://github.com/hololinked-dev/hololinked.git
# the submodules can be quite hefty and are not necessary
git clone https://github.com/hololinked-dev/hololinked.git
cd hololinked
pip install -e .
```

With `uv`:

```sh
git clone --no-recurse-submodules https://github.com/hololinked-dev/hololinked.git
git clone https://github.com/hololinked-dev/hololinked.git
cd hololinked
uv venv
source .venv/bin/activate # for Linux/Mac
.venv\Scripts\activate # for Windows
uv sync
```

The `docs` submodule is not needed to install or develop hololinked, and is not checked out by default. To check it out:

```sh
git submodule update --init --checkout docs
```
Loading