docs: Add examples

This commit is contained in:
James Westman 2021-10-27 00:24:28 -05:00
parent f2f6bcc198
commit 55e08e4f52
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
6 changed files with 325 additions and 0 deletions

11
docs/meson.build Normal file
View file

@ -0,0 +1,11 @@
if get_option('docs')
sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: true)
custom_target('docs',
command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), meson.current_source_dir(), '@OUTPUT@'],
output: 'en',
build_by_default: true
)
endif