Your contribution¶
OCM photo album¶
We keep recent photos and document changes in Google Photo Album OCM 2026. Archival albums are here: OCM 2025, OCA 2024, OCA 2023, OCA 2022.
If you are a member of the album, you can take the pictures with your smartphone and add them to the album using the Google Photos app. If you're not a member, use OCA-phone instead. All the photos you take with OCA-phone are immediately saved in the Google Photos, but in your private album. In order to add them to OCM album, explicitly click on the chosen photos and add them to the album "OCM 2026".
Note
Add only the photos of the progress on the construction site and representative photos of OCM (e.g. viewed from the ELT construction site). If you have pretty outreach photos, add them to album Outreach 2026.
Tip
If you want to be invited to the album and see the progress even after you leave OCM, let us know!
OCM intranet¶
The address of the OCM intranet is docker.oca.lan and you can connect to it only from OCM. There are plenty useful links there, so feel free to explore. In order to contribute, log in as "observer" with a standard observer password and implement changes.
If you think some changes should be implemented but you don't want to do it alone, contact Mikołaj or Paulina.
OCM manual¶
The manual you're reading is prepared using Material for MkDocs. It is written in MarkDown with a touch of html and css. You don't have to know any of it to contribute!
Changes you don't want to implement yourself¶
Write an email or a Slack message to Mikołaj or Paulina, explaining what you want to be changed. We'll take it from here.
Alternatively, open an issue on the manual's GitHub and assign pkarczmarek to it.
GitHub account
You need to be a member of the Araucaria Project Organization on GitHub to have access to GitHub repository.
You can also login to GitHub as ocacontrolroom user.
Remember, that GitHub uses access tokens to authenticate git tool.
Follow this procedure
to create one, and use it instead of your password when git asks for it.
(Generate a classic token instead fine-grained one, it's easier to set up, and you can choose "Never expire" option.)
Small changes you want to implement yourself¶
Small changes can be done directly on the manual's GitHub.
Big changes and/or committed contribution to the manual¶
If you want to help us develop this manual long(er)-term, consider cloning the git repository to your computer. This is the simplest way to make big changes to the manual.
Important
Remember to activate the virtual environment each time you start an editing session.
Setting up the environment¶
- Ensure your python version is at least 3.11 up to the current latest release. For any new environments, it is highly recommended to use Python 3.13. Python 3.10 should only be used in special, legacy cases. Run this command to check:
python --version
We now use uv as the standard tool for managing Python versions and dependencies in our new projects (although poetry is still perfectly fine and supported for existing projects). Because uv is a standalone binary with its own fast installer, you should install it using its official standalone script rather than pipx (which is meant for isolating python apps). See uv installation guide.
-
Go to the directory in which you want to have subdir with the
oca-manualproject. -
Clone the projects
gitrepository.Thegit clone https://github.com/araucaria-project/oca-manual.git cd oca-manualgit clonecommand will createoca-manualsubdirectory for you. -
Create virtual python environment using
uv. The command below creates a virtual environment for Python 3.13 in the.venvsubdirectory:uv venv --python 3.13 -
Activate virtual environment (do it always at the beginning of an editing session):
source .venv/bin/activate -
Install "Material for MkDocs" and PDF plugin:
uv pip install -r requirements.txt
Seeing this manual as a local website¶
Run local server:
mkdocs serve
Editing the content¶
At the beginning of each editing session:
-
Activate virtual environment:
source .venv/bin/activate -
Pull changes from the repository:
git pull -
Start the local server:
mkdocs serve -
In order to make any changes, use Visual Studio Code or any other code editor of your choice that handles MarkDown:
-
Edit any
.mdfile fromdocs/subdirectory, or create a new one. -
Add images to
docs/imgsubdirectory (optional). -
Save your
.mdfile(s) and see the changes in the browser. -
Please, bump up the version number at the beginning of
doc/index.mdfile when you make changes to the manual.
-
-
When you're done, commit and push your changes to the repository:
git commit -am 'description of the changes'
git push
Adding new chapters¶
To add a new chapter to the manual, start by creating a new file in the docs directory. The file should be a Markdown (.md) file. Name the file in a way that reflects the content of the chapter (e.g., advanced-features.md). Ensure that the content in your chapter file is well-structured and follows the Markdown syntax standards.
Updating the Configuration File¶
After creating your chapter file, you need to insert it into the manual. This is done by updating the mkdocs.yml file located in the root directory.
- Open
mkdocs.ymlin your text editor. - Find the
navsection in the YAML structure. - Add an entry for your new chapter file under this section.
- Ensure that the order of the chapters in
mkdocs.ymlreflects the intended order in the manual.
Useful commands¶
source .venv/bin/activateactivates virtual environmentmkdocs buildbuilds a website that can be put on the araucaria servermkdocs servestarts the live-reloading docs servermkdocs -hprints help message and exits
Project layout¶
mkdocs.yml # The configuration file.
img/ # Directory with images & photos
css/ # Directory with css file for PDF rendering
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
MkDocs features¶
Apart from standard MarkDown features (headers, links, bold font, code fragments), MkDocs can do the following:
- subscripts H2O
- superscripts ATA
- cool keys combinations Ctrl+Alt+Del
- footnotes1
- explanation of a specific word, like xylocarp, every time it appears in the text
- highlight, strikethrough, underline ("A Freudian slip is when you say one think but mean
a motheranother.") -
some \(\LaTeX\) math:
\[ f(x) = \frac{1}{\sigma \sqrt{2\pi} } e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2} \]where \(\mu\) denotes a mean of the distribution, while \(\sigma\) is its standard deviation.
Danger
Danger message here
Warning
Warning message here
Note
Normal note here
Expandable note
Expandable note here
Custom name tip
Expandable tip here
For full documentation on MkDocs visit mkdocs.org.
For more complete reference on MarkDown try this guide.
Beyond MkDocs features¶
MkDocs supports html-like presentation of images. This structure is particularly useful to link the text to the image. An example of an image and its reference are below:
<a name="water-air-circulation"></a>
<figure>
<center>
<img src="../img/maintenance_water-air-circulation.jpg"
alt="Switch for hot water circulation pump and ventilation control panel" width="800px">
<figcaption>Fig. 9. Left: switch for hot water circulation pump. Right: ventilation control panel.</figcaption>
</center>
</figure>
<a href="#water-air-circulation">Fig. 11</a>
Problems with contributing¶
If you encounter any problems with environment setup or with editing the manual, please contact Mikołaj or, even better, create an issue-ticket in the GitHub repository.
Updates of online versions¶
There are two online locations of the manual: on the OCM website and on the OCM intranet. The manual on the OCM website is updated frequently and manually by Paulina. The manual on the OCM intranet is updated automatically; the server checks for changes in the git repository every hour.
If you wish to update manually the manual on the OCM intranet, log in to the OCM intranet as poweruser and run the following commands:
ssh poweruser@docker.oca.lan
cd src/oca-manual/
git pull
The changes should be visible after a few minutes.