~sircmpwn/harelang.org

376a962a0db324c5baf49d8a97f91b240979f73c — Lou Woell 2 months ago a925229 master
Fix dead links in tutorials and blog posts

Point the links in the Tutorial to the new documentation.

/installation	->	/documentation/install/
/editors	->	/documentation/install/editors.html
/style		->	/documentation/usage/style.html
/community	->	/documentation/community/

Signed-off-by: Lou Woell <lou.woell@posteo.de>
M content/blog/2021-03-19-stdlib-development.md => content/blog/2021-03-19-stdlib-development.md +1 -1
@@ 9,7 9,7 @@ development! The standard library is extremely important to Hare's success, and
building it is a lot of work, which means we need a lot of help to get it done.
This article should serve as an introduction to the standard library development
process for new contributors. As a pre-requisite, please complete the
[Installation procedure](/installation) and the [Hare language
[Installation procedure](/documentation/install/) and the [Hare language
introduction](/tutorials/introduction).

The standard library lives in the main [Hare source

M content/blog/2022-04-25-Announcing-Hare.md => content/blog/2022-04-25-Announcing-Hare.md +1 -1
@@ 42,7 42,7 @@ tutorial].
Hare is most similar to C, and almost all programs written in C can also be
written in Hare. Hare is simpler than C, however.

[installation procedure]: /installation/
[installation procedure]: /documentation/install/
[Hare tutorial]: /tutorials/introduction/

In the meantime, let me tell you why Hare is special.

M content/tutorials/introduction.md => content/tutorials/introduction.md +12 -5
@@ 36,7 36,7 @@ sections:
      };
  details: |
      Start by setting up your local development environment according to the
      [installation instructions](https://harelang.org/documentation/install/index.html). To test that it works, copy
      [installation instructions](/documentation/install/). To test that it works, copy
      this code sample into a file named `main.ha`, and run the following
      command:



@@ 49,11 49,18 @@ sections:
          $ ./example
          Hello world!

<<<<<<< HEAD
      Hare programs use 8-column-wide tab characters for indentation. See the
      <a href="/documentation/usage/style.html">style guide</a>
      for details, and consider installing an
      <a href="https://harelang.org/documentation/install/editors.html">editor plugin</a>.
  title: Breaking down "Hello world!"
=======
      Hare programs use 8-column-wide tab characters for indentation. See the <a
      href="/documentation/usage/style.html">style guide</a> for details, and consider installing an <a
      href="/documentation/install/editors.html">editor plugin</a>.
- title: Breaking down "Hello world!"
>>>>>>> Fix dead links in tutorials and blog posts
  sample: |
      use fmt;



@@ 1828,9 1835,9 @@ sections:

      <div class="alert">
        <strong>Note:</strong> This code sample violates a few of the guidelines
        set forth by the <a href="/style/">style guide</a>&nbsp;&mdash; can you
        spot them? The guidelines are not set in stone: if your code is better
        when you ignore some of them, do it.
        set forth by the <a href="/documentation/usage/style.html">style
        guide</a> &nbsp;&mdash; can you spot them? The guidelines are not set in
        stone: if your code is better when you ignore some of them, do it.
      </div>

      We also make use of `never` here so that switch and match branches which


@@ 1983,7 1990,7 @@ you encounter any unusual code out there in the wild that you don't understand,
don't hesitate to reach out for help.

Speaking of which, this is a good time to remind you about our [community
resources](/community):
resources](/documentation/community/):

- The [hare-users](https://lists.sr.ht/~sircmpwn/hare-users) mailing list is a
  great place to ask questions

M content/tutorials/stdlib.md => content/tutorials/stdlib.md +1 -1
@@ 20,7 20,7 @@ summary: |
    command, or online at
    <a href="https://docs.harelang.org">docs.harelang.org</a>.
    If you have any questions, do not hestitate to
    <a href="/community">connect with the Hare community</a>.
    <a href="/documentation/community/">connect with the Hare community</a>.
  </div>

  [language introduction tutorial]: /tutorials/introduction/