Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs on working on docs #74201

Merged
merged 4 commits into from
Apr 21, 2021

Conversation

samdoran
Copy link
Contributor

@samdoran samdoran commented Apr 8, 2021

SUMMARY

Fix a bug in the make clean target that would not cleanup symlinks.

Add documentation describing how to setup the configuration before trying to generate docs. This is a new requirement since the documentation was split up.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

docs/docsite/rst/community/documentation_contributions.rst

Without the '.', the command would fail and not remove symilnks.
@ansibot ansibot added affects_2.12 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. docs_only All changes are to files within the docs/docsite/ directory docsite This issue/PR relates to the documentation website. needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Apr 8, 2021
@samdoran samdoran requested a review from acozine April 8, 2021 21:02
@samdoran samdoran removed the needs_triage Needs a first human triage before being processed. label Apr 13, 2021
@samccann samccann added the pr_day Has been reviewed during a PR review Day label Apr 20, 2021
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Apr 20, 2021
Rather than documenting that the end user needs to run two make targets
to test changes to a file, modify the Makefile so that htmlsingle
invokes the other make target.

Change the dependencies for the *_structure targets.  They don't depend
on generating the module and plugin docs so move the dependency to a
higher level target instead.  This way, the htmlsingle target doesn't
need to run those.

Add make to the list of dependent packages needed to build the docs.
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Apr 20, 2021
@samccann samccann merged commit fdbef02 into ansible:devel Apr 21, 2021
@samccann
Copy link
Contributor

Tested locally and making the single HTML seems to work again (woot!)

Making w/o modules (MODULES=none) doesn't seem to work, but we can cover that in a separate discussion/PR.

- sphinx-notfound-page
- straight.plugin
- ``gcc``
- ``jinja2``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be easier to point to requirements/constraints files that already have this info?

@ansible ansible locked and limited conversation to collaborators May 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.12 core_review In order to be merged, this PR must follow the core review workflow. docs_only All changes are to files within the docs/docsite/ directory docs This issue/PR relates to or includes documentation. docsite This issue/PR relates to the documentation website. pr_day Has been reviewed during a PR review Day support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants