Build with jsdoc
¶
This version is built with jsdoc
.
It should show the linkDensity
function documented below.
- linkDensity(node)¶
Return the ratio of the inline text length of the links in an element to the inline text length of the entire element.
- Arguments
node (
Node()
) – Types or not: either works.
- Throws
PartyError|Hearty()
– Multiple types work fine.- Returns
Number – Types and descriptions are both supported.
1version: 2
2
3build:
4 os: ubuntu-22.04
5 tools:
6 python: "3.9"
7 nodejs: "16"
8 jobs:
9 post_install:
10 - npm install -g jsdoc
11
12sphinx:
13 configuration: docs/conf.py
14
15python:
16 install:
17 - requirements: requirements.txt
Sphinx configuration file used to build this docs (see full file),
1project = 'Test Builds'
2extensions = [
3 'sphinx_autorun',
4 'sphinx_js',
5]
6
7js_source_path = '../src/'
8
9
10# Include all your settings here
11html_theme = 'sphinx_rtd_theme'
12
13
14
15
>>> # Build at
>>> import datetime
>>> datetime.datetime.utcnow() # UTC
datetime.datetime(2022, 5, 18, 14, 13, 12, 406330)