From a15302c94fb6914dcb350a263519fc8a87351a2a Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 1 Jan 2023 15:23:15 +0800 Subject: [PATCH] split documentation to 2 parts --- jekyll/_config.yml | 7 +- jekyll/documentation.html | 160 ++++---------------------------------- jekyll/learn.html | 147 ++++++++++++++++++++++++++++++++-- 3 files changed, 159 insertions(+), 155 deletions(-) diff --git a/jekyll/_config.yml b/jekyll/_config.yml index 6393ff3d8..c415baf0d 100644 --- a/jekyll/_config.yml +++ b/jekyll/_config.yml @@ -26,14 +26,17 @@ defaults: title: "Nim Blog" navigation: - - title: Blog - url: /blog.html + - title: Features url: /features.html + - title: Learn + url: /learn.html - title: Download url: /install.html - title: Documentation url: /documentation.html + - title: Blog + url: /blog.html - title: Forum url: https://forum.nim-lang.org - title: Donate diff --git a/jekyll/documentation.html b/jekyll/documentation.html index c9c2c2110..3a8c51973 100644 --- a/jekyll/documentation.html +++ b/jekyll/documentation.html @@ -5,65 +5,6 @@ ---

{{page.title}}

- -
-
-

Getting started with Nim

-
-
-

Learn Nim in 5 minutes

-

A 5-minute tour through Nim.

-
-
-

Nim basics tutorial

-

For programming beginners. Covers all the basic topics, enough to make your first programming steps.

-
-
-

Official Nim Playground

-

Compile and run Nim snippets in your browser.

-
-
- -
-
-

Official tutorials

-
- -
-

Tutorial, part 1

-

A guide about basic and advanced built-in types, statements, control flow, and procedures.

-
-
-

Tutorial, part 2

-

How to use Object Oriented Programming in Nim, exceptions, generics, and templates.

-
-
-

Macro tutorial

-

Learn about meta-programming and macros.

-
-
- -
-
-

Nim for...

-
- -
-

... C programmers

-

This is a guide for people with experience in C or a similar language. - The guide assumes some intermediate knowledge, for instance of how stacks and heaps works.

-
-
-

... Python programmers

-

Nim is much more than "compiled Python", and this tutorial will give you an overview - of similarities and differences between the two languages.

-
-
-

... TypeScript/JavaScript programmers

-

Want to use Nim for your frontend needs? Start here.

-
-
-

Documentation

@@ -83,94 +24,6 @@

Tools Documentation

-
-
-

Search

-
- -
-

Searchable index

-

All Nim documents and modules in one place. Use Ctrl/Cmd+F.

-
-
-

Nimble Package Directory

-

Search for available Nimble packages.

-
-
- -
-
-

Tutorials

-
- -
-
-

How I Start: Nim

-

Write an interpreter for the BrainF#@% programming language in Nim.

-
- -
-

Nim by Example

-

A series of short examples covering the most common topics.

-
- -
-

Nim Days

-

Building mini applications with Nim.

-
-
-
-
-

- Nim Notes -

-

- A collection of Nim snippets with brief notes. -

-
- -
-

- Nim memory model -

-

- Tutorial explaining essentials of how Nim stores data in memory. -

-
- -
-

- Nim for Beginners -

-

- A video series meant to teach Nim programming to people - who have never programmed before, or are new to the language. -

-
-
-
- -
-
-

Blogs

-
- -
-

Goran Krampe

-

OOP in Nim, Arduino and Nim, and more.

-
- -
-

HookRace

-

NES emulator in Nim, SDL2 platformer, writing small binaries, etc.

-
- -
-

Peter's DevLog

-

Options, File handling, stack vs heap (ref) objects, etc.

-
-
-

Other

@@ -214,8 +67,21 @@

Nim Backend Integration

+ +
+
+

Search

+
+
+

Searchable index

+

All Nim documents and modules in one place. Use Ctrl/Cmd+F.

+
+
+

Nimble Package Directory

+

Search for available Nimble packages.

+
diff --git a/jekyll/learn.html b/jekyll/learn.html index 487a6dc15..ad8b8247b 100644 --- a/jekyll/learn.html +++ b/jekyll/learn.html @@ -1,6 +1,141 @@ - - - - - - +--- +title: "Learn" +layout: page +css_class: documentation +--- +
+

{{page.title}}

+ +
+
+

Getting started with Nim

+
+
+

Learn Nim in 5 minutes

+

A 5-minute tour through Nim.

+
+
+

Nim basics tutorial

+

For programming beginners. Covers all the basic topics, enough to make your first programming steps.

+
+
+

Official Nim Playground

+

Compile and run Nim snippets in your browser.

+
+
+ +
+
+

Official tutorials

+
+ +
+

Tutorial, part 1

+

A guide about basic and advanced built-in types, statements, control flow, and procedures.

+
+
+

Tutorial, part 2

+

How to use Object Oriented Programming in Nim, exceptions, generics, and templates.

+
+
+

Macro tutorial

+

Learn about meta-programming and macros.

+
+
+ +
+
+

Nim for...

+
+ +
+

... C programmers

+

This is a guide for people with experience in C or a similar language. + The guide assumes some intermediate knowledge, for instance of how stacks and heaps works.

+
+
+

... Python programmers

+

Nim is much more than "compiled Python", and this tutorial will give you an overview + of similarities and differences between the two languages.

+
+
+

... TypeScript/JavaScript programmers

+

Want to use Nim for your frontend needs? Start here.

+
+
+ +
+
+

Tutorials

+
+ +
+
+

How I Start: Nim

+

Write an interpreter for the BrainF#@% programming language in Nim.

+
+ +
+

Nim by Example

+

A series of short examples covering the most common topics.

+
+ +
+

Nim Days

+

Building mini applications with Nim.

+
+
+
+
+

+ Nim Notes +

+

+ A collection of Nim snippets with brief notes. +

+
+ +
+

+ Nim memory model +

+

+ Tutorial explaining essentials of how Nim stores data in memory. +

+
+ +
+

+ Nim for Beginners +

+

+ A video series meant to teach Nim programming to people + who have never programmed before, or are new to the language. +

+
+
+
+ +
+
+

Blogs

+
+ +
+

Goran Krampe

+

OOP in Nim, Arduino and Nim, and more.

+
+ +
+

HookRace

+

NES emulator in Nim, SDL2 platformer, writing small binaries, etc.

+
+ +
+

Peter's DevLog

+

Options, File handling, stack vs heap (ref) objects, etc.

+
+
+ + +