Skip to content

Mirror of Apache MyNewt site (Incubating)

Notifications You must be signed in to change notification settings

mkiiskila/incubator-mynewt-site

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Apache MyNewt site is built using MkDocs.

Setup

For all contributors:

  • Install MkDocs on your system.

Additionally for committers:

  • pip install GitPython
  • pip install sh

Submitting updates

  1. Fork the repo.
  2. Work on the develop branch.
  3. Preview your changes using MkDocs.
  4. Submit a pull request.

Releasing a versioned set of MyNewt documentation

When a new release of MyNewt OS and its associated tools occurs, the documentation in the git develop branch of this repository should be in sync with the released version. The following steps will create a documentation branch for the release and make it available as the default documentation from the mynewt-site.

Build

  1. Merge develop to master.
  2. Switch to the master branch.
    • git checkout master
  3. Create a new stanza in mkdocs.yml to reflect the new version.
    • and update the latest flag, only one release should be marked latest.
    • and update version to match the new branch name.
  4. Commit this change.
  5. Create a branch from master to reflect this new version.
  6. Run: ./build.py

Test

  1. Run: ./serve.py
  2. Visit http://localhost:8000

Deploy

  1. Run: ./deploy.sh
  2. This will leave you on the asf-site branch.
  3. Commit & push the changes.

Links to Documentation

For the deployed site a version prefix is added to the URL for each mkdocs page. When developing there is no version prefix. If you want to link from a site page to a documentation page you should prefix the URL with /DOCSLINK/ so that the user is taken to the correct location when browsing in production.

About

Mirror of Apache MyNewt site (Incubating)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.3%
  • CSS 46.3%
  • Python 4.5%
  • JavaScript 1.9%
  • Shell 1.0%