Commit Graph

26 Commits

Author SHA1 Message Date
Mustafa Can Elmacı
ae8bbb814f treewide: HTML Cleanup
* HTML Cleanup: Meta tags.
* Converted charset to shorthand.
* Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.)

* HTML Cleanup: CSS tags.
* Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.)
* Removed `type` attribute from style tags. (Deprecated in HTML5 spec.)
https://html.spec.whatwg.org/#attr-link-type
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style

* HTML Cleanup: Convert from XHTML to HTML5
* Removed XML declaration.
* Removed XML namespace.
* Changed doctype to HTML5.

* HTML Cleanup: CDATA tags.
* CDATA sections should not be used within HTML they are considered as comments and not displayed.
https://developer.mozilla.org/en-US/docs/Web/API/CDATASection

* HTML Cleanup: Script tags.
* Removed `language` attribute from script tags. (No longer valid in HTML5)
* Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.)
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type
https://mimesniff.spec.whatwg.org/#javascript-mime-type

Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
2024-11-22 22:39:46 +01:00
Emmanuel Ferdman
bfee5d083c
docs: update the reference implementation source
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-09-28 11:14:12 +03:00
Paul Donald
1635bbfad4 docs: structuring and overhaul
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15 18:09:10 +01:00
Paul Donald
6644f90e9c luci-mod-network: fixes to i18n
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15 04:10:22 +01:00
Paul Donald
4c57abc77c luci-mod-network: fixes to older api docs
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15 04:01:54 +01:00
Paul Donald
b98d8c526e build: update build/i18n-* tools
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>
2024-01-03 13:14:06 +00:00
Paul Donald
6ddbb30ac3
Merge pull request #6400 from vintas/patch-2
docs: fix Client side JS API docs link
2023-12-04 03:56:59 +01:00
Sergey Ponomarev
155d2bdd6e docs: Synchronize with Wiki
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>
2023-08-10 13:10:37 +03:00
Avinash N
bd969c617c
docs: fix Client side JS API docs link
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>
2023-05-23 01:12:25 +05:30
Paul Spooren
56ef04849d CI: automatically update jsapi docs
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>
2021-10-08 17:16:04 -10:00
Paul Spooren
c1f972df1b docs: remove static jsapi content
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>
2021-10-08 17:16:04 -10:00
Jo-Philipp Wich
683bc54fd9 docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-08-06 17:58:47 +02:00
Sven Roederer
68521fca04 luci-base(-libs): move pcdata() and striptags() from util- to xml-class
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>
2020-07-19 20:14:35 +02:00
Jo-Philipp Wich
a8366b01b7 docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:41:31 +02:00
Jo-Philipp Wich
3f1d6870ff docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:48 +02:00
Jo-Philipp Wich
40982927c6 docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-07 16:35:16 +02:00
Jo-Philipp Wich
0c3152c88d docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 13:28:38 +02:00
Jo-Philipp Wich
89a50c2f8f docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-02 21:51:20 +02:00
Jo-Philipp Wich
2b64fd6c6c docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-31 21:31:04 +02:00
Jo-Philipp Wich
1e3f74211e docs: update JS api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-12 11:59:41 +01:00
Balázs Úr
39196b0de9 luci-app-fwknopd: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-20 23:12:48 +01:00
Jo-Philipp Wich
489fc4b263 docs: various updates
- jsapi: include source links
 - README.md: link to github pages
 - docs/README.md: add stub index page

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 12:39:24 +01:00
Jo-Philipp Wich
9933dd64aa docs: update JS api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 12:21:20 +01:00
Jo-Philipp Wich
66fc653b09 docs: add dummy jsdocs README
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05 16:32:21 +01:00
Jo-Philipp Wich
937a51859d docs: add missing jsapi resources, update .gitignore
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05 10:50:35 +01:00
Jo-Philipp Wich
baa727de93 docs: rename documentation folder to docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05 10:42:54 +01:00