Mirror of an open source Kubernetes-native API gateway for microservices built on the Envoy Proxy https://www.getambassador.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Shumaker 063dc80d4e Merge remote-tracking branch 'origin/master' into lukeshu/final4 1 day ago
about just a small fix 5 months ago
concepts Merge commit '27a5201442' 1 day ago
doc-images Merge commit '8635e76a53' 3 months ago
docs Merge commit '27a5201442' 1 day ago
kat Integrate teleproxy.git in to the build 3 days ago
reference Clarify that multiple distinct redirect_cleartext_from values is an error. 1 day ago
user-guide Merge commit '27a5201442' 1 day ago
yaml Merge commit '27a5201442' 1 day ago
.travis.yml Merge commit 'e70963fd61' 6 months ago
README.md docs/README.md: Describe the subtree workflow 7 months ago
doc-links.yml Merge commit '27a5201442' 1 day ago
libraries.md versions 6 months ago
portal-pages.yml Merge commit 'c8e5bd06cf' 4 weeks ago
pro-pages.yml Merge commit 'c8e5bd06cf' 4 weeks ago
publish-website.sh publish-website.sh: Fix permissions 6 months ago
versions.yml Merge commit '27a5201442' 1 day ago


Ambassador documentation

We’ve switched to GatsbyJS for generating the documentation, which gives us more control and flexibility over the layout.

Authoring documentation

  • If you are improving the documentation of for the current release of Ambassador or Ambassador Pro, you should submit your pull-request to ambassador-docs.git.
  • If you are writing documentation for changes in an upcoming release of Ambassador, you should submit your pull-request to ambassador.git (in the docs/ folder).
  • If you are writing documentation for changes in an upcoming release of Ambassador Pro, you should submit your pull-request to apro.git (in the docs/ folder).

If you’re authoring the documentation, just edit the Markdown files. You can use GitHub to preview the Markdown.

In both YAML and Markdown files, strings like %variable% are substituted with the values defined in versions.yml.

The doc-links.yml file is the table-of-contents.

The pro-pages.yml file identifies which pages should be marked as “Pro” pages.

Documentation infrastructure notes

The docs canonically live at ambassador-docs.git, which is “vendored” in to several other repositories using git subtree. Repositories that do this are encouraged to include some kind of convenience tooling to make syncing the docs easier. For example, the following Makefile snippet:

pull-docs: ## Update ./docs from https://github.com/datawire/ambassador-docs
	git subtree pull --prefix=docs https://github.com/datawire/ambassador-docs.git master
push-docs: ## Publish ./docs to https://github.com/datawire/ambassador-docs
	git subtree push --prefix=docs git@github.com:datawire/ambassador-docs.git master
.PHONY: pull-docs push-docs

Pushing to the master branch of ambassador-docs.git causes Travis CI to update getambassador.io.git’s subtree of the docs, which will cause a website update. That repository contains the Gatsby-based toolchain that compiles the docs in to a website. Still TODO is to provide a local/public version of this toolchain.

Repositories that include the docs as a subtree should get in the habit of doing a git subtree pull from their master branch periodically. Documentation for code changes can then be committed right along-side the code changes. When a release is cut, and you are ready to publicize it, simply do a git subtree push.