From e690b33827af1d3c05c0d4f60d69df3bacb7ea06 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 23 Jan 2024 21:00:25 +0100 Subject: [PATCH] update documentation --- assets/css/app.css | 4 ++ index.html | 101 +++++++++++++++++++++++---------------------- src/app.css | 4 ++ 3 files changed, 60 insertions(+), 49 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index f4becf6..6a4fc4d 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -25,3 +25,7 @@ html { .title:not(:first-child) { margin-top: 0; } + +.section { + margin-top: 20px; +} diff --git a/index.html b/index.html index e582dd1..330ab29 100644 --- a/index.html +++ b/index.html @@ -24,62 +24,65 @@
-
-
-
-
- -
-
1. Set up your repository
-

- Create a public repository named pages to make the site available at the main subdomain. -

-
-

- You can also create a branch pages in an existing repository: +

+
+
+ +
+
1. Set up your repository
+

+ Create a public repository named pages to make the site available at the main subdomain. +

+
+

+ You can also create a branch pages in an existing repository: -

git switch --orphan pages
+                
git switch --orphan pages
 # In case if ignored files exist
 git rm --cached -r .
-

-
+

-
-
-
- -
-
2. Upload your files
-

- Push your static content, HTML, style, fonts, images or anything else. -

+
+
+
+
+
+
2. Upload your files
+

+ Push your static content, HTML, style, fonts, images or anything else. +

-
-
-
- -
-
3. You're done!
-

- Access your new website using this link: https://USERNAME.gitnet.page[/REPOSITORY][/@BRANCH]. -

-

or

-

- To use a custom domain, create a file .domains in your repository with the domain name you wish to use. -

- Then, add a DNS record for that domain:
- CNAME [[branch.]repo.]user.gitnet.page. -

- Or for apex domains where CNAME doesn't work:
- ALIAS gitnet.page.
- TXT [[branch.]repo.]user.gitnet.page -

- If ALIAS isn't supported, use A instead:
- A 193.70.112.230
- + TXT as above -

+
+
+
+
+
+
3. You're done!
+

+ Access your new website using this link: https://USERNAME.gitnet.page[/REPOSITORY][/@BRANCH]. +

+
+
+
+
+
+ +
+
How to use a custom domain?
+ +

To use a custom domain, create a file .domains in your repository with the domain name you wish to use. + Then, add a DNS record for that domain:

+
CNAME [[branch.]repo.]user.gitnet.page.
+ +

For apex domains where CNAME doesn't work:

+
ALIAS gitnet.page.
+TXT [[branch.]repo.]user.gitnet.page
+ +

If ALIAS isn't supported:

+
A 193.70.112.230
+TXT [[branch.]repo.]user.gitnet.page
diff --git a/src/app.css b/src/app.css index 42c0475..7501f25 100644 --- a/src/app.css +++ b/src/app.css @@ -25,3 +25,7 @@ html { .title:not(:first-child) { margin-top: 0; } + +.section { + margin-top: 20px; +}