This repository contains the raw source files for building and maintaining documentation for the Ocre runtime project. While this repository houses the content and structure, it's not intended for direct reading of the documentation. For the most up-to-date and user-friendly version of our docs, please visit our live site at: https://docs.project-ocre.org/
Interested in contributing? Great! You'll find detailed contribution guidelines and setup instructions in the sections below.
This documentation site was built using Jekyll and the Just the Docs theme.
├── docs/ # Contains all markdown files for documentation
│ └── assets/ # Holds images, CSS, JS, etc. for the documentation
├── _config.yml # Jekyll configuration file, maintainers manage this
├── Gemfile # Dependencies for Jekyll site, maintainers manage this
├── Gemfile.lock # Locked dependencies, maintainers manage this
├── README.md # You're reading this file
└── _site/ # Auto-generated, do not edit directly (site build output)
- Documentation Location: All content related to Ocre’s documentation lives in the
docsfolder. If you're contributing, focus your efforts here. - Editing Scope: Contributors (who are not maintainers) should avoid editing files outside the
docsfolder. The rest of the structure is primarily for configuration and assets that support the documentation. - Assets: The assets directory is reserved for resources that support the site's core functionality, including scripts, styles, and any images referenced by configuration files or top-level pages (such as
_config.ymlandindex.md). All other documentation-specific images should be stored alongside the documents where they are referenced, keeping resources as close as possible to their usage location.
This structure and these guidelines help ensure the integrity and maintainability of the Ocre documentation site while allowing contributions to focus on content updates. Failure to follow these guidelines may result in rejecting your PR. If you have any questions please reach out to us via Slack.
Ensure you have the following installed on your system:
| Software | Version |
|---|---|
| Ruby | ≥ 3.3.2 |
| Bundler | ≥ 2.5.4 |
| Jekyll | ≥ 4.3.0 |
We encourage contributions to improve the documentation! If you’re looking to update or add content, follow these steps:
-
Fork the repository on GitHub.
-
Clone your forked repo
git clone https://github.com/your-username/project-ocre.github.io.git cd project-ocre.github.io -
Install dependencies.
bundle install -
Create a new branch for your changes.
git checkout -b feature/your-feature
-
Make your changes. Rembmer to focus on the
docsfolder for content updates. -
Preview your changes locally by running:
bundle exec jekyll serve -
Open your browser and visit http://localhost:4000 to see your changes.
-
Once satisfied with your changes, commit them:
git add . git commit -m "Brief description of your changes" -
Push your changes to your fork:
git push origin feature/your-feature-name -
Go to the main Ocre docs repository and submit a pull request with a clear description of your changes.
We'll review your contribution and get back to you as soon as possible. Thank you for helping improve the Ocre documentation!
If you have any questions, feel free to reach out on Slack or open an issue for discussion.