Skip to content

David-5-1/wikimo_content

 
 

Repository files navigation

Wikimo Git documentation

This repository stores documentation for https://wiki.mozilla.org/ and in particular the https://wiki.mozilla.org/Security pages. It is possible to both pull existing pages, or changes in made to pages directly back to Git as well as commit changes to Git first then push them to the wiki. In any case, the Git repository has authority and for pages tracked here, it is highly recommended to ensure that your changes are sent via a pull-request.

Please do not change the main repository directly (i.e always fork and send a pull-request, get at least one peer-review and merge).

All documentation is licensed under the MPL (see LICENSE).

Usage

Note

Recommended: Install/use virtual envs, see https://www.insecure.ws/linux/python_venv_wrapper.html for example.

<activate your venv>
$ pip install -r requirements.txt
$ cp sync.json.inc sync.json
<edit sync.json>
$ ./sync.py

To sync new changes from git to wikimo:

$ ./sync.py --push

To sync the wiki to git (for ex when someone forgot to use git... ;-):

$ ./sync.py --get

To see a full unified diff of any change (when ran without get or push, this will only display changes but not commit them):

$ ./sync.py --diff

About

WikiMo documentation (mainly the security space, but everyone's welcome to use this)

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.6%
  • PHP 4.4%