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

Online demo link in README missing #2892

Closed
GirlBossRush opened this issue Oct 31, 2017 · 5 comments · May be fixed by #2894
Closed

Online demo link in README missing #2892

GirlBossRush opened this issue Oct 31, 2017 · 5 comments · May be fixed by #2894

Comments

@GirlBossRush
Copy link

Navigating to https://pugjs.org redirects to https://pugjs.org/api/getting-started.html, rather than an online demo as the README suggests.

@mikesamuel
Copy link

mikesamuel commented Nov 2, 2017

For context, I think this refers to the third paragraph in README.md:

You can test drive Pug online here.


 You can test drive Pug online [here](https://pugjs.org/).

https://pugjs.org/ redirects to /api/getting started.html and there doesn't seem to be a REPL available there.

@mikesamuel
Copy link

Perhaps that README link should point to api/reference.md which says

::: float info Tip Pug is available in your Web browser's console! To test drive Pug's API, as documented on this page, try entering:

pug.render('p Hello world!');
:::

@mikesamuel
Copy link

That page corresponds to https://pugjs.org/api/reference.html.

Will send a PR.

mikesamuel added a commit to mikesamuel/pug that referenced this issue Nov 2, 2017
pugjs#2892

The new link target, https://pugjs.org/api/reference.html , says

> ::: float info Tip Pug is available in your Web browser's console! To test drive Pug's API, as documented on this page, try entering:
> 
> pug.render('p Hello world!');
> :::
@ForbesLindesay
Copy link
Member

The website is sadly still a long way form finished, I will get round to it eventually.

@mikesamuel
Copy link

Fwiw, #2894 tries to fix this.

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 a pull request may close this issue.

3 participants