Skip to content
This repository was archived by the owner on Dec 19, 2022. It is now read-only.

feat: Support _disableContribution - #49

Merged
yufeih merged 3 commits into
docascode:mainfrom
DavidMarquezF:main
Apr 8, 2022
Merged

feat: Support _disableContribution#49
yufeih merged 3 commits into
docascode:mainfrom
DavidMarquezF:main

Conversation

@DavidMarquezF

Copy link
Copy Markdown
Contributor

It hides the star and the edit source buttons if the _disableContribution global metadata is set.

However, I have not been able to find a way to remove the metadata of the pages with the original_content_git_url and gitcommit. If I understand correctly this is handled by docfx and not the template? If so, I guess this pull request is complete

@yufeih yufeih left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Ideally we should have test for this bug the test infra hasn't been setup just yet.

@yufeih
yufeih merged commit fac2a10 into docascode:main Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants