mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
* add noxfile with mkdocs build session * add nox build check * include reusable nox in ci workflow
21 lines
335 B
Python
21 lines
335 B
Python
import nox
|
|
|
|
|
|
@nox.session
|
|
def build(session: nox.Session):
|
|
"""
|
|
Build the AWX Operator docsite.
|
|
"""
|
|
session.install(
|
|
"-r",
|
|
"docs/requirements.in",
|
|
"-c",
|
|
"docs/requirements.txt",
|
|
)
|
|
session.run(
|
|
"mkdocs",
|
|
"build",
|
|
"--strict",
|
|
*session.posargs,
|
|
)
|