diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-14 08:38:07 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-14 08:38:07 +0200 |
commit | b18205c60ee2c4549cf521e02f0223aec46e90b5 (patch) | |
tree | 21161011a9ce0f0a71f1438fe402e68dfe30b449 | |
parent | 6b47d005f8270522189d80949d6dbd045d8adae9 (diff) |
Open Help on first run
Make things less confusing for newcomers by showing the Help document on first run. Moved up the "What is Gemini" section to the top since it has the FAQ link.
IssueID #159
-rw-r--r-- | res/about/help.gmi | 14 | ||||
-rw-r--r-- | src/app.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi index fcdc8239..05168ecf 100644 --- a/res/about/help.gmi +++ b/res/about/help.gmi | |||
@@ -6,6 +6,13 @@ | |||
6 | ``` | 6 | ``` |
7 | # Help | 7 | # Help |
8 | 8 | ||
9 | ## What is Gemini | ||
10 | |||
11 | Gemini is a simple protocol for serving content over the internet. It specifies a Markdown inspired format allowing basic plain text document markup. Compared to HTTP and HTML, Gemini is vastly simpler and easier to work with. | ||
12 | |||
13 | => gemini://gemini.circumlunar.space/docs/faq.gmi Project Gemini FAQ | ||
14 | => gemini://gemini.circumlunar.space/docs/specification.gmi Protocol and 'text/gemini' specification | ||
15 | |||
9 | ## What is Lagrange | 16 | ## What is Lagrange |
10 | 17 | ||
11 | Lagrange is a GUI client for browsing Geminispace. It offers modern conveniences familiar from web browsers, such as smooth scrolling, inline image viewing, multiple tabs, visual themes, Unicode fonts, bookmarks, history, and page outlines. | 18 | Lagrange is a GUI client for browsing Geminispace. It offers modern conveniences familiar from web browsers, such as smooth scrolling, inline image viewing, multiple tabs, visual themes, Unicode fonts, bookmarks, history, and page outlines. |
@@ -41,13 +48,6 @@ Like Gemini, Lagrange has been designed with minimalism in mind. It depends on a | |||
41 | * Built-in support for Gopher | 48 | * Built-in support for Gopher |
42 | * Use proxy servers for HTTP, Gopher, or Gemini content | 49 | * Use proxy servers for HTTP, Gopher, or Gemini content |
43 | 50 | ||
44 | ## What is Gemini | ||
45 | |||
46 | Gemini is a simple protocol for serving content over the internet. It specifies a Markdown inspired format allowing basic plain text document markup. Compared to HTTP and HTML, Gemini is vastly simpler and easier to work with. | ||
47 | |||
48 | => gemini://gemini.circumlunar.space/docs/faq.gmi Project Gemini FAQ | ||
49 | => gemini://gemini.circumlunar.space/docs/specification.gmi Protocol and 'text/gemini' specification | ||
50 | |||
51 | ## Why not just use a web browser | 51 | ## Why not just use a web browser |
52 | 52 | ||
53 | Modern web browsers are complex beasts. In fact, they are so complex that one can create a fully functional virtual machine inside one and run another operating system! | 53 | Modern web browsers are complex beasts. In fact, they are so complex that one can create a fully functional virtual machine inside one and run another operating system! |
@@ -498,7 +498,7 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
498 | /* Widget state init. */ | 498 | /* Widget state init. */ |
499 | processEvents_App(postedEventsOnly_AppEventMode); | 499 | processEvents_App(postedEventsOnly_AppEventMode); |
500 | if (!loadState_App_(d)) { | 500 | if (!loadState_App_(d)) { |
501 | postCommand_App("navigate.home"); | 501 | postCommand_App("open url:about:help"); |
502 | } | 502 | } |
503 | postCommand_App("window.unfreeze"); | 503 | postCommand_App("window.unfreeze"); |
504 | d->isFinishedLaunching = iTrue; | 504 | d->isFinishedLaunching = iTrue; |