Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
mdhelp: update doc_update file mdhelp: hide long item properties mdhe…
…lp: update cribsheet
- Loading branch information
Showing
4 changed files
with
34 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,65 +1,21 @@ | ||
| ##Updating the Documentation 5 April 2016 | ||
| ##Updating the Documentation | ||
|
|
||
| This information was last updated on 11 May 2016. | ||
|
|
||
| The documentation is written in markdown, and then converted for | ||
| direct inclusion to tvheadend binary. The markdown processor in | ||
| tvheadend binary adds also other information from the internal | ||
| tvheadend binary adds other information from the internal | ||
| class system. | ||
|
|
||
| The User Guide | ||
| in [documentatation repository](https://github.com/tvheadend/tvheadend-documentation) | ||
| fetches the markdown files using the build-in web server and use | ||
| them as source for mkdocs. | ||
|
|
||
| ####Instructions for on-line help | ||
|
|
||
| Change markdown files in docs/markdown, docs/classes, docs/wizard and type | ||
| make. Follow | ||
| [development page](https://tvheadend.org/projects/tvheadend/wiki/Development). | ||
|
|
||
| ####Instructions for User Guide (FIXME!) | ||
|
|
||
| Broadly: | ||
|
|
||
| 1. Install dependencies ([mkdocs](http://www.mkdocs.org/) and | ||
| [git](https://help.github.com/articles/set-up-git/)) | ||
|
|
||
| 2. Clone the [documentation repository](https://github.com/tvheadend/tvheadend-documentation) | ||
|
|
||
| 3. Make changes locally. Pay close attention to formatting and syntax - | ||
| use the live reload function (`mkdocs serve`) to preview them. | ||
|
|
||
| 4. When you're happy, push the changes to your remote repository and open | ||
| a pull request | ||
|
|
||
| > Because we upload the theme as well, what it looks like locally should be | ||
| > 100% representative of what it looks like once it's pushed to the Internet. | ||
| Command sequence (this presumes Linux, but Windows is very similar): | ||
|
|
||
| * `cd ~/tvheadend-documentation` | ||
| * `git add -A` (presumes to add everything, you can of course be selective) | ||
| * `git commit -m "Summary of changes"` | ||
| * `git push` | ||
|
|
||
| ... and then open the PR on github | ||
|
|
||
| To update and resync, someone (me, probably!) needs to: | ||
|
|
||
| 1. Merge the changes | ||
| 2. Pull the latest revisions from the repository | ||
| 3. Convert the webui files: `./convert.sh docs/webui <target_directory>` | ||
|
|
||
| To merge the webui files into tvheadend, copy them into `<your tvheadend clone>/docs/html`, | ||
| push them to your remote repository and open a PR to merge them into master. | ||
| ###Instructions For Built-in Help | ||
|
|
||
| 4. Convert all files: `mkdocs build --clean` | ||
| 5. Copy the contents of the resultant `site` directory to gihub pages | ||
| Change markdown files in `docs/markdown`, `docs/markdown/inc`, `docs/class`, `docs/wizard`, etc. | ||
| Images are placed in `src/webui/static/img/doc/`. | ||
|
|
||
| To publish the entire User Guide to gihub, use `resync.sh` or use the | ||
| following command sequence: | ||
| Build Tvheadend as you normally would, see the [development page](https://tvheadend.org/projects/tvheadend/wiki/Development) for details. | ||
|
|
||
| * `cd $YOUR_BASE_DIR/tvheadend.github.io` | ||
| * `cp -r $YOUR_BASE_DIR/tvheadend-documentation/site/* .` | ||
| * `git add -A` (presumes to add everything) | ||
| * `git commit -m "Resync"` (or whatever your commit message is) | ||
| * `git push` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters