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

sphinx_git: add 'repo-dir' in option_spec of GitCommitDetail #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mccaffrey-jonathan
Copy link

Add 'repo-dir' option in the option_spec of GitCommitDetail class.
GitCommitDetail extends class GitDirectiveBase. GitDirectiveBase base class checks for 'repo-dir' option, with an environment default.
'repo-dir' option previously is in option_spec of GitChangelog but not of GitCommitDetail.
If 'repo-dir' option is added to the option_spec, that option becomes functional for GitCommitDetail because the option is queried in GitDirectiveBase.

1 use of 'repo-dir' option with GitCommitDetail is to embed the git revision (by commit SHA) of a neighboring git repository which is documented by the Sphinx documents, importing doxygen comments from that neighboring git repository by Breathe extension.

Add 'repo-dir' option in the option_spec of GitCommitDetail class.
GitCommitDetail extends class GitDirectiveBase.  GitDirectiveBase base class checks for 'repo-dir' option, with an environment default.
'repo-dir' option previously is in option_spec of GitChangelog but not of GitCommitDetail.
If 'repo-dir' option is added to the option_spec, that option becomes functional for GitCommitDetail because the option is queried in GitDirectiveBase.

1 use of 'repo-dir' option with GitCommitDetail is to embed the git revision (by commit SHA) of a neighboring git repository which is documented by the Sphinx documents, importing doxygen comments from that neighboring git repository by Breathe extension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant