Moving the output to /luci breaks existing links out there
so let's do our best to output to /luci/jsapi
Include a favicon also as a static resource.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
- style with clean-jsdoc-theme (supports dark mode)
- add tutorials (jaguar has a problem with this structure)
- move doc gen stubs to doc_gen folder
This change moves the generated JS API docs from /luci/jsapi
to /luci via README.md which forms the index, and shall
point to a generated html file which exists. It currently
points to LuCI.html, which depends on JSDoc naming
conventions. So it's possible the link can break if modules
change names. But the TOC is always valid.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modify i18n-add-language.sh so it can:
- be run from any path
- bootstrap any (or all) po folder(s) with existing language(s)
- (partially) update luci.mk with new languages
deprecate build/i18n-init.sh
Signed-off-by: Paul Donald <newtwen@gmail.com>
The Wiki on GitHub has newer version of documentation.
Still we may have references to the docs folder.
Update all pages but also add a notice:
See [online wiki](https://github.com/openwrt/luci/wiki/) for latest version.
The LAR page is removed because there no any mentions of it anywhere in Luci.
This closes#2360
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Link will work with the generated web documentation site as well as the Github README Markdown renderer.
Signed-off-by: Avinash N <vintas@users.noreply.github.com>
Use a GitHub Action to keep the docs updated, the current onces are 14
month old and outdated.
Use latest jsdoc package
Add full URL to LuCI.html file in README.md
Ignore generated HTML files via .gitignore
Signed-off-by: Paul Spooren <mail@aparcar.org>
It should be dynamically created by a CI rather than being updated
manually. This should result to more accurate docs.
Signed-off-by: Paul Spooren <mail@aparcar.org>
To complete the previous commit these functions are defined in the resulting
luci-base package but are also used in the new luci-base-libs package. So
move them into the new xml-module of the new package.
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>