Giter Club home page Giter Club logo

ambassador-docs's Introduction

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 [email protected]: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.

ambassador-docs's People

Contributors

aberres avatar boffbowsh avatar bpehling-ptc avatar concaf avatar danielbryantuk avatar dansipple avatar endrec avatar feitnomore avatar flands avatar flydiverny avatar inoahnothing avatar kelseyevans avatar kflynn avatar lavoiedn avatar lukeshu avatar mdkess avatar mpatelpa avatar mrwinstead avatar n1koo avatar peturgq avatar pjfoley avatar procrypt avatar radu-c avatar rclayton-the-terrible avatar rhs avatar richarddli avatar rsyvarth avatar technicianted avatar tonkworks avatar ysaakpr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.