The documentation URLs take the path min.io/docs/$program/$platform/
Where:
$program
isminio
,kes
, or similar$platform
iskubernetes/upstream
,kubernetes/openshift
,macos
,container
,windows
,linux
, and similar- Not every
$program
has$platform
specific versions of their docs
When launching docs for a new $program
or $platform
, the following steps must be completed:
-
Update the
makefile
in this repo to include the new docs- Use an existing
$platform
or$program
section as a template. - This creates a build command specific for the new
$platform
or$program
docs.
- Use an existing
-
Add an
elif
section for the new$program
or$platform
to thesource/default-conf.py
file in this repo- Use an existing
elif
section as a template to follow. - This allows you to exclude files that are not necessary from the build.
- Use the
url-excludes.yaml
file to specify URLs to exclude from that platforms build
- Use an existing
-
Update
build-docs.sh
in this repo to automatically build the docs for the web server on each merge to themain
branch- Add the platform or program to the second
make
line. - Create the commands to clear and add the path to the new docs using an existing section as a template.
- Kubernetes platforms should go under
/docs/kubernetes/$platform
- You can test by running locally (might need
sudo sh ./build-docs.sh
). You can then usepython -m http.server --directory /var/www/docs/minio/
and testing URLs
- Add the platform or program to the second
-
Update the doc main nav bar (
/source/_templates/content-navigation.html
) to include the$program
and/or$platform
Work with the website design team as needed.
-
Update the
sitemap_index.xml
file- Contact a member of the website design to to add the new
$program
or$platform
sitemap.xml path to the sitemap_index.xml on the min.io root website server.
- Contact a member of the website design to to add the new
-
Update the Algolia crawler
- Add the new
$program
or$platform
sitemap.xml path to the minio Algolia crawler configuration at https://crawler.algolia.com. - Select the minio index from the list, then select the Editor tab on the left nav
- Add the path to the
discoveryPatterns
section - Add the path to the
pathsToMatch
section - Click Save
- Add the new
-
Reindex the docs site
After the docs are published, manually launch the minio index crawler from https://crawler.algolia.com by selecting Restart crawling.