Welcome to the Platform Specification project! This repository contains the source code for the entire Platform Specification website as well as the official specification files themselves.
Please see https://platformspec.io for the full project details.
The Platform Specification is designed to help platform engineers, infrastructure architects, and DevOps teams define and manage cloud platforms efficiently. By providing a common structure, this specification makes it easier to deploy platforms across different cloud providers and environments. The documentation is built using Vitepress, and hosted on GitHub Pages.
The official documentation for the Platform Specification is generated statically using Vitepress and can be found at https://platformspec.io.
The website and documentation is written using Vitepress :: Vite & Vue Powered Static Site Generator - Markdown to Beautiful Docs in Minutes. Please see documentation on https://vitepress.dev for details.
You can work on the Platform Specification and its accompanying documentation locally by following the steps below.
We recommend using Docker to avoid the need for setting up Node.js locally.
-
Clone the Repository:
git clone https://github.com/platformspec/site.git platformspec/site cd platformspec/site
-
Build and Run the Docker Container:
touch .env make build make run
-
Access the Local Site: Open your browser and visit
http://localhost:5173
to view the live version of the site locally.
Alternatively, you can use Node.js and npm for local development.
-
Clone the Repository:
git clone https://github.com/platformspec/site.git platformspec/site cd platformspec/site
-
Install Dependencies:
npm install
-
Run the Development Server:
npm run docs:dev
-
Access the Local Site: Visit
http://localhost:5173
in your browser to view the site.
To build the static HTML version of the site for production:
npm run docs:build
The output will be located in the dist/
directory.
We welcome contributions from the community! Whether you want to report a bug, suggest an improvement, or submit a pull request, we'd love to hear from you.
You can participate by submitting issues related to:
- Bugs or issues in the specification
- Enhancements or feature requests
- Questions or discussions about the project
To submit an issue:
- Visit the GitHub Issues page.
- Search for existing issues before creating a new one.
- If a similar issue doesn’t exist, click "New Issue" and fill in the template.
We accept contributions via pull requests. Before submitting one:
- Ensure the issue you’re addressing has been discussed or logged.
- Fork the repository and create a new branch.
- Implement your changes and write tests if necessary.
- Run
npm run docs:dev
to ensure everything works. - Submit a pull request with a detailed description of your changes.
This project is licensed under the Creative Commons BY-SA 4.0 License.
Thank you for contributing to the Platform Specification! If you have any questions, feel free to reach out via GitHub Issues or Discussions.