Docs
Docs is the product that contains Fluid Attacks' documentation.
Both internal and external documentation is located here.
Public Oath
The documentation is located at: docs.fluidattacks.com.
Architecture
- Docs is a static site built with Docusaurus.
- It declares its own infrastructure using Terraform.
- It uses Markdown files to store its content.
- Sensitive secrets like Cloudflare authentication tokens are stored in encrypted YAML files using Mozilla SOPS.
- It uses Algolia to provide a search bar.
- It uses Cloudinary as main multimedia host.
- DNS records, cache, custom headers, redirections and firewall are managed by Cloudflare.
- The website is hosted on AWS S3.
- Ephemeral environments are deployed in
docs-dev.fluidattacks.com/<branch>
so developers can check that everything works as expected before going to production.
Contributing
Please read the contributing page first.
Development Environment
Follow the steps in the Development Environment section of our documentation.
When prompted for an AWS role, choose dev
,
and when prompted for a Development Environment, pick docs
.
Local Environment
Run this command within the universe
repository:
m . /docs start
This will launch a replica of docs.fluidattacks.com on your localhost, port 3000, which you can interactively develop and test.