Skip to content

publish docs to readthedocs.org #206

Description

@ktdreyer

We should publish docs at https://readthedocs.org/projects/koji-ansible/

Links of interest:

And from #ansible-community today:

< samccann> I'm wondering if we need to find a place to say where to find sphinx themes that are workable for creating your own collection-level docsite? like - https://github.com/felixfontein/felix-ansible-docsite/blob/main/_static/ansible.css
< samccann> not in official docs/ but maybe ansible-collections/overview? I feel bad directing people to grow their own docs solution, but I don't know how long they'd have to wait for Galaxy to show it
< dmsimard> samccann: https://github.com/ansible/ansible/blob/devel/docs/docsite/_extensions/pygments_lexer.py is pretty neat too.
< dmsimard> as in, making it available outside of ansible/ansible (like the themes) would be nice
< felixfontein> I'm not very familiar with how sphinx themes work; would it be possible to create a "theme extension" that adds a small CSS file to an existing theme and something like https://github.com/ansible/ansible/blob/devel/docs/docsite/_extensions/pygments_lexer.py ?
< felixfontein> I second that
< felixfontein> can sphinx extensions add CSS (and be theme-independent)?
< felixfontein> if yes, that should be very doable

< dmsimard> ktdreyer: ara used to have role docs in sphinx and used "code-block:: yaml+jinja" for nice syntax highlighting
< dmsimard> because the roles were split outside of ara and into a collection, there's no more sphinx so it's raw markdown nowadays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions