Commit Graph

9 Commits

Author SHA1 Message Date
Joey Parrish 749cf6d49c docs: Add support for documenting top-level enums (#4498)
Previously, top-level enums caused the generation of filenames like
"shaka.config.html#AutoShowText" instead of
"shaka.config.AutoShowText.html". This broke the generation of docs for
top-level enums (attached to a namespace instead of a class).

This adds support for these into our jsdoc template.

Related to PR #3421
2022-09-20 14:13:23 -07:00
Michelle Zhuo 281d3ed96f feat(LowLatency): Show warning if lowLatencyMode should be enabled
Updated the warning message.

Change-Id: Ifc655cfd11d617b87ff9d0f3a11b37eef12bfc86
2020-09-20 16:22:03 -07:00
Sandra Lokshina 6b1ca2d229 Initial release of Shaka Player UI
Other contributors:
 - @joeyparrish
 - @michellezhuogg
 - @TheModMaker
 - @theodab
 - @vaage

Change-Id: If6df33d9ab5035d1ead4402004f7de37ee8470f4
2018-11-16 14:40:37 -08:00
Joey Parrish 2f00ffba8c Turn warnings into errors in jsdoc
This will help us avoid accidents like having certain tags ignored.

Change-Id: If31e7d2f9d704af041fc5bb357396aeb797bc48b
2018-02-07 20:25:35 +00:00
Joey Parrish 5061631f29 Sort jsdoc tutorials according to the config file
This feature is based on a forked version of jsdoc which we hope to
land https://github.com/jsdoc3/jsdoc/pull/1502 upstream.

Closes #1259

Change-Id: I48e07ffd8ae9fc2c07cd48b3e02b85e87694d341
2018-02-02 14:51:40 -08:00
Joey Parrish 91ad9b6464 Add custom tag support to jsdoc
This uses a plugin to customize certain tags in jsdoc.

In some cases, we have invented new tags in our build system.
In others, we want to the docs to treat things differently than the
build.

Issue #1259

Change-Id: I934ad578cf7479572cb807c5b3aee489c332343a
2018-01-31 22:04:48 +00:00
Joey Parrish 5bd6a80c14 Customize jsdoc nav order
We can now specify in a config file what order the nav elements should
be in, and which nav elements should appear.

Issue #1259

Change-Id: I4caa3a0585b4140e76a66f1c5bed0c20c82ca5a4
2018-01-31 22:04:48 +00:00
Joey Parrish ed54199260 Upgrade and unfork jsdoc
This updates jsdoc to the latest version from npm and forks a copy of
the default jsdoc template.

In subsequent commits, we will reapply our customizations to the
template and to a jsdoc plugin.

This also fixes several bad annotations that the new jsdoc failed to
parse.

Issue #1259

Change-Id: I00a47270ea4754e1c96c43ca900d5cf889ab72e6
2018-01-31 22:04:48 +00:00
Joey Parrish c8e80cb58d Tutorials and other doc revisions
- Update tutorial link in README
 - Fix python version in README
 - Move jsdoc conf to docs/ folder
 - Add API docs main page
 - Change style of inline code blocks
 - Don't repeat tutorial title in jsdoc template
   - (makes it easier to read tutorials on github as MD)
 - Add tutorials for:
   - Welcome to Shaka
   - Basic Usage
   - Debugging
   - Configuration
   - Networking and Buffering Configuration
   - DRM Configuration
   - License Server Authentication
   - Plugins
 - Tutorials still to come:
   - License Headers and Track Restrictions
   - Special Considerations for Live
   - v2 Upgrade Guide

Change-Id: I16401c216cf4023d9097750ac7f6090c68bf3c9b
2016-04-06 19:17:51 +00:00