carpentries-incubator / gap-lesson

Programming with GAP
https://carpentries-incubator.github.io/gap-lesson/
Other
6 stars 10 forks source link

broken links #32

Closed fmichonneau closed 2 months ago

fmichonneau commented 5 years ago

Some links in the Reference and Instructor Guide seem broken:

 ● Resource: `01-command-line.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `02-some-objects.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `03-func.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `04-testing.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `05-small-groups.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `06-attributes.html`
    Message: ‘File referenced by URL doesn't exist.’
    Found in:
    - ./gap-lesson/_site/guide/index.html
    - ./gap-lesson/_site/reference/index.html
  ● Resource: `http://www.gap-system.org/Manuals/doc/ref/chap27.htmlGAPDoc`
    Message: ‘HTTP status code: 404’
    Found in:
    - ./gap-lesson/_site/discuss/index.html
  ● Resource: `http://www.gap-system.org/Manuals/doc/tut/chap3.htm`
    Message: ‘HTTP status code: 404’
    Found in:
    - ./gap-lesson/_site/reference/index.html
olexandr-konovalov commented 5 years ago

Thanks @fmichonneau! I see what's wrong with some of these, but puzzled e.g. with https://carpentries-incubator.github.io/gap-lesson/guide/ referring to 01-command-line.html - I can't see where.

fmichonneau commented 5 years ago

For the guide and reference pages, the links are in the titles of each episode. I recommend you use the {% link name_of_file.md %} syntax. For instance to link to the 1st first episode you would use:

[First session with GAP]({% link _episodes/01-command-line.md %})