pyvec / pyvec/naucse

Make URLs properly hiearchical

Open
#6 2 comments 0 reactions 1 assignee View on GitHub

@Sanqui is already working on this.

Since Jul 19, 2017.

Dominant language
Python
Stars
2
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Currently URLs for lessons expose the file directories used internally in the filesystem, rather than matching the sessions in the breadcrumbs. Observe:

http://naucse.python.cz/2017/pyladies-brno-jaro-po/
http://naucse.python.cz/2017/pyladies-brno-jaro-po/sessions/install/ (issue pyvec/naucse.python.cz#164)
http://naucse.python.cz/2017/pyladies-brno-jaro-po/beginners/cmdline/
http://naucse.python.cz/2017/pyladies-brno-jaro-po/git/install/

The last two URLs are a part of the "install" session. In order to match the breadcrumbs, they should instead say something like:

http://naucse.python.cz/2017/pyladies-brno-jaro-po/install/cmdline/
http://naucse.python.cz/2017/pyladies-brno-jaro-po/install/git/

Additionally, this issue enables you to "cheat" and access pages that are not truly a part of the course, like http://naucse.python.cz/2017/pyladies-brno-jaro-po/intro/flask/. This only works with a real webserver and not Elsa, however, since these pages are not linked anywhere.

Blocked by pyvec/naucse#5, because any URL scheme changes require redirects.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.