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

Make improve page link generic in help documentation #4586

Merged
merged 1 commit into from Dec 12, 2017
Merged

Make improve page link generic in help documentation #4586

merged 1 commit into from Dec 12, 2017

Conversation

brownharryb
Copy link
Contributor

improve_page_help

As it is, this links to frappe github repo even for a custom app. This fixes it

@netchampfaris netchampfaris changed the base branch from v8.x.x to develop December 7, 2017 07:01
def get_improve_page_html(app_name, target):
docs_config = frappe.get_module(app_name + ".config.docs")
source_link = docs_config.source_link
branch = getattr(docs_config, "branch", None) or "develop"
Copy link
Contributor

Choose a reason for hiding this comment

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

`getattr(docs_config, "branch", "develop")

@brownharryb brownharryb changed the title v8.x.x Make improve page link generic in help documentation Make improve page link generic in help documentation Dec 8, 2017
@brownharryb
Copy link
Contributor Author

Hi @netchampfaris
Changes included.

@netchampfaris netchampfaris merged commit b9201db into frappe:develop Dec 12, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2023
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.

None yet

2 participants