mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
* add some attribtutes to docs template for accessbility * fix colors to meet accessibility guidelines (4.5 contrast ratio for text) * Fix last remaining pa11y error (no button on search form) This fix required moving the mkdocs theme out of the docs directory. It's no in the docs_theme directory, and the mkdocs config is updated accordingly. * Re-enable accessibility testing for docs sit Also, move the pa11y script into the gh actions workflow * clean up linting issues in css * fix and standardize link colors across site * fix twitter button opacity making text fail contrast requirements * move buttons on docs site index nav, tweak font weights * fix footer opacity, tweak spacing of the now more visible sections of the page * change font sizes on index page to meet WCAG * udpate font sizes site-wide for accessibility * fix sidebar for accessibility (font sizes and color contrasts) * restyle code blocks to have dark background, and meet accessibility requirements * standardize (accessible) colors across docs site
22 lines
516 B
YAML
22 lines
516 B
YAML
# readthedocs.yml
|
|
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
# Build documentation in the docs/ directory
|
|
mkdocs:
|
|
configuration: mkdocs.yml
|
|
fail_on_warning: false
|
|
|
|
# Optionally build your docs in additional formats such as PDF
|
|
formats:
|
|
- pdf
|
|
- epub
|
|
|
|
# Optionally set the version of Python and requirements required to build your docs
|
|
python:
|
|
version: 3.7
|
|
install:
|
|
- requirements: docs_theme/requirements.txt
|