Skip to content

fix: "improve this" btn doesn't work for CLI docs #4953

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

Merged
merged 2 commits into from
Aug 19, 2019

Conversation

etabakov
Copy link
Contributor

PR Checklist

What is the current behavior?

The homepage of the documentation is different in the online version and the local one. This makes it hard to generate a link to the GitHub corresponding file for the "Improve This" button in the online docs.

What is the new behavior?

On both version the homepage is at /start.html. There is a index.html for the local version that redirects to /start.html.

Fixes/Implements/Closes https://github.com/NativeScript/docs/issues/1711.

@cla-bot cla-bot bot added the cla: yes label Aug 16, 2019
@rosen-vladimirov rosen-vladimirov self-requested a review August 19, 2019 05:59
Due to changes in the previous commit, `tns -h` is not working as CLI is trying to open the `index.md` file, which does not exist anymore. Change CLI's code to look for `start.md` instead.
@rosen-vladimirov rosen-vladimirov force-pushed the etabakov/fix-improvethis branch from 7c1dfc1 to 50b111a Compare August 19, 2019 06:18
@rosen-vladimirov rosen-vladimirov merged commit 5e15cef into master Aug 19, 2019
@rosen-vladimirov rosen-vladimirov deleted the etabakov/fix-improvethis branch August 19, 2019 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Improve this article" link is broken
2 participants