eDF documentation-as-code repository. Also 'website' as based on Hugo it is rendered statically. https://docs.edp.buildth.ing/
Find a file
2024-11-08 11:45:52 +01:00
.devcontainer feat(devcontainer): Added containerUser for rootless podman 2024-10-02 18:24:10 +02:00
assets fix(README): better Docsy installation description 2024-09-03 10:39:41 +02:00
content/en chore(workshops): WiP - preparation of getting together with engin diri, waldemar kindler & think ahead 2024-11-08 11:45:52 +01:00
layouts chore(hugo-theme): moved to docsy. Started from https://github.com/google/docsy-example and ported all ipceicis content to there. removed all docsy example stuff 2024-08-05 11:56:38 +02:00
resources doc( architecture): WiP minor changes on model 2024-09-15 22:43:38 +02:00
.gitignore Added idpbuilder topic and added devcontainer cli support 2024-09-26 14:44:53 +02:00
.gitmodules chore(documentation-base): Initial commit with Hugo devcontainer and RELEARN theme installed - just open the devconatiner and start editing! 2024-07-30 11:12:09 +02:00
config.yaml chore(hugo-theme): moved to docsy. Started from https://github.com/google/docsy-example and ported all ipceicis content to there. removed all docsy example stuff 2024-08-05 11:56:38 +02:00
devbox.json chore(devbox): added go dependency 2024-11-07 12:55:07 +01:00
devbox.lock chore(devbox): added go dependency 2024-11-07 12:55:07 +01:00
go.mod chore(hugo-theme): moved to docsy. Started from https://github.com/google/docsy-example and ported all ipceicis content to there. removed all docsy example stuff 2024-08-05 11:56:38 +02:00
go.sum chore(hugo-theme): moved to docsy. Started from https://github.com/google/docsy-example and ported all ipceicis content to there. removed all docsy example stuff 2024-08-05 11:56:38 +02:00
hugo.toml chore(): a bit more history addedand plantuml enabled for nice architecture drawings :-) 2024-09-02 16:13:54 +02:00
README.md chore(hugo): Added devbox for hugo processing. Improved README documentation. 2024-11-05 09:38:29 +01:00

IPCEICIS-DeveloperFramework Documentation

This repo contains business and architectural design and documentation of the DeveloperFramework subproject of IPCEI-CIS.

How to read and contribute to this documentation locally

The documentation is done in Hugo-format.

Hugo is a static site renderer - so to get the documentation site presented you need a running Hugo processor. Therefore there is

Local installation of the Hugo documentation system

We describe two possible ways (one with devcontainer, one with devbox) to get the Hugo-documentation system locally running.

For both prepare the following three steps:

  1. open a terminal on your local box
  2. clone this repo: git clone https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW/website-and-documentation
  3. change to the repo working dir: cd website-and-documentation

Possibility 1: Hugo in a devcontainer

devcontainers are running containers as virtual systems on your local box. The defintion is in the .devcontainer folder. Thus as preliminary you need a container daemon running, e.g. Docker.

There are several options to create and run the devcontainer - we present here two:

Option 1: Run the container triggered by and connected to an IDE, e.g. VS Code

  1. open the repo in an Devcontainer-aware tool/IDE (e.g. code .)
  2. start the devcontainer (in VSC it's F1 + Reopen in Devcontainer)
  3. when the container is up & running just open your browser with http://localhost:1313/

Option 2: Run the container natively

An alternative to get the container image is the devcontainer CLI, then you can run the devcontainer without VS Code. Thus as preliminary you need to do the install steps of the devconatiner cli.

  1. start the devcontainer by running: devcontainer up --workspace-folder .
  2. find out the IP address of the devconatiner by using docker ps and docker inspect <id of container>
  3. when the container is up & running just open your browser with http://<DOCKER IP>:1313/

Possibility 2: Hugo in a devbox

Devboxes are locally isolated environments, managed by the Nix package manager. So first prepare the devbox.

Then

  1. devbox shell
  2. In the shell: hugo serve

Editing

Documentation language

The documentation is done in Docsy-Theme.

So for editing content just goto the content-folder and edit content arrording to the Docsy documentation

Commiting

After having finished a unit of work commit and push.

Annex

Installation steps illustrated

When you run the above installation, the outputs could typically look like this:

In Visual Studio Code

Reopen in Container

vsc-f1

Hugo server is running and (typically) listens to localhost:1313

After some installation time you have:

vsc-hugo

Final result in a web browser

browser