Axway-Open-Docs is a docs-as-code implementation for Axway documentation. It is built using the Hugo static site generator with the Google Docsy theme. The site is deployed on Netlify at https://axway-open-docs.netlify.app/. Users can edit any documentation page using GitHub web UI or a WYSIWYG editor provided by Netlify CMS.
This repository contains all files for building and deploying the AMPLIFY Shared Services microsite in the Axway-Open-Docs ecosystem. The Markdown files for the documentation are stored at /content/en/docs
.
We welcome your contributions! To get started, go to https://axway-open-docs.netlify.app/docs/shared_services/supportapi/. Browse the documentation and use the options in the right navigation to edit any page using GitHub or Netlify CMS.
Before you start contributing, please read the contribution guidelines.
If you are a maintainer of this documentation site, or a contributor who will be making frequent or major contributions to the documentation, we recommend you set up and build the site locally on your computer. This enables you to easily test changes locally before pushing to GitHub.
You must have the following installed in your development environment:
- Git client
- Hugo
- Node.js
See Set up and work locally for information on recommended versions of these tools and for tips on installing them in a WSL environment.
Clone the repository:
cd ~
git@github.com:Axway/amplifysharedservices-open-docs.git
After running these commands, you will have a local copy of the repository in the following location:
/home/YOUR-UNIX-USERNAME/amplifysharedservices-open-docs
Run the build.sh
command in your site root:
cd ~/amplifysharedservices-open-docs/
./build.sh
The build.sh
script performs the following:
- Adds the
docsy
theme Git submodule - Adds the
axway-open-docs-common
Git submodule - Installs the npm packages required by Docsy
- Runs the
hugo server
command
The website is now available locally at http://localhost:1313/
.
You can now add or edit Markdown files in the content\en\docs\
directory and Hugo will automatically rebuild the site with your changes.