2.5 KiB
Launching a New Platform
Overview
The documentation URLs take the path min.io/docs/$program/$platform/
Where:
$programisminio,kes, or similar$platformiskubernetes/upstream,kubernetes/openshift,macos,container,windows,linux, and similar- Not every
$programhas$platformspecific versions of their docs
Steps
When launching docs for a new $program or $platform, the following steps must be completed:
-
Update the
makefilein this repo to include the new docs- Use an existing
$platformor$programsection as a template. - This creates a build command specific for the new
$platformor$programdocs.
- Use an existing
-
Add an
elifsection for the new$programor$platformto thesource/default-conf.pyfile in this repo- Use an existing
elifsection as a template to follow. - This allows you to exclude files that are not necessary from the build.
- Use the
url-excludes.yamlfile to specify URLs to exclude from that platforms build
- Use an existing
-
Update
build-docs.shin this repo to automatically build the docs for the web server on each merge to themainbranch- Add the platform or program to the second
makeline. - 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$programand/or$platformWork with the website design team as needed.
-
Update the
sitemap_index.xmlfile- Contact a member of the website design to to add the new
$programor$platformsitemap.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
$programor$platformsitemap.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
discoveryPatternssection - Add the path to the
pathsToMatchsection - 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.