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

Link tutorial pages to source files #15

Open
ajlam opened this issue Jun 21, 2017 · 1 comment
Open

Link tutorial pages to source files #15

ajlam opened this issue Jun 21, 2017 · 1 comment

Comments

@ajlam
Copy link
Member

ajlam commented Jun 21, 2017

Consider adding a button/link for each tutorial page & step to the source markdown file.

@badersur
Copy link
Contributor

Hello @ajlam,

I've found this to solve the issue:

{% if page.path %} 
    <a class="sql-footer-link" href="https://github.com/Microsoft/sqldev/blob/master/{{page.path}}">Edit</a> 
{% endif %}

I'm using /blob/master in the link instead of /edit/master because I like to see files before editing & if I'm not logging in I won't be bothered with GitHub's login page!

You're using include statements so we won't be directed always to the intended files (and we'll have to search for these!)

I'm thinking about adding a button to edit the whole page and another button inside these include statements (which i didn't test yet) to edit these sections (which is kinda weird)

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

No branches or pull requests

2 participants