Docs
Docs is the product that contains Fluid Attacks’ development documentation.
Public Oath
The documentation is located at: dev.fluidattacks.com.
Architecture
- Docs is a static site built with Astro Starlight.
- It uses MDX files to store its content.
- It uses Cloudinary as main multimedia host.
- The website is hosted on GitLab Pages.
Contributing
Please read the contributing page first.
Update documentation as you work
In order to make documentation maintenance
as simple as possible,
changes to common/docs/src/content
are allowed on all pipelines.
That is,
you can work on your current product
and also update documentation at common/docs/src/content
,
all within the same merge request.
Running jobs
Any script described in docs package.json can be executed as following:
Some examples are:
Editor support
In order to enable syntax highlighting, linting and formatting in your editor you need to:
- Have the MDX extension installed.
- Make
common/docs/node_modules
locally available. You can do so by running any docs job as described in Running jobs.
Using components
Components help your documentation look beautiful with things like cards, asides, steps, etc.
.mdx
files support the use of JSX components.
Both native and custom components are supported.
You can find all supported components in the table below.
Type | Documentation |
---|---|
Native | Link |
Custom | Link |