Skip to content

Commit 804a802

Browse files
committed
Set pathes relatively (#29)
- bring ide-extension to root - remove then superflous css - update README of how to build all pages locally
1 parent 23c95dc commit 804a802

12 files changed

+58
-494
lines changed

.github/workflows/generate_html.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
uses: docker://pandoc/core:2.9
3333
with:
3434
args: >
35-
--output=ide-extensions/index.html
35+
--output=ide-extensions.html
3636
--include-before-body=navigation.html
3737
--css=../github-pandoc.css
3838
--standalone
3939
--title-prefix="Metafacture"
40-
ide-extensions/index.md
40+
ide-extensions.md
4141
- name: Commit html files
4242
uses: EndBug/add-and-commit@v5
4343
with:
4444
message: "Add newly generated html files by GitHub Actions."
45-
add: "index.html getting-started.html ide-extensions/index.html --force"
45+
add: "index.html getting-started.html ide-extensions/index.html --force"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ The HTML files are generated by Github Actions on every Push. If you want to tes
55
1. Install [pandoc](https://pandoc.org/installing.html)
66
2. Execute
77
```
8-
pandoc --output=index.html --include-before-body=navigation.html --css=github-pandoc.css --standalone --title-prefix "Metafacture" index.md
8+
pandoc --output=index.html --include-before-body=navigation.html --css=github-pandoc.css --standalone --title-prefix "Metafacture" index.md; pandoc --output=getting-started.html --include-before-body=navigation.html --css=github-pandoc.css --standalone --title-prefix "Metafacture" getting-started.md; pandoc --output=ide-extensions.html --include-before-body=navigation.html --css=github-pandoc.css --standalone --title-prefix "Metafacture" ide-extensions.md
99
```
10-
for generating the index.html on root.
10+
for generating index.html, getting-started.html and ide-extensions.html on root.
1111
1212
# Page Content
1313
## Main Page

ide-extensions/fix.vsix fix.vsix

File renamed without changes.

ide-extensions/flux.vsix flux.vsix

File renamed without changes.

getting-started.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -75,31 +75,31 @@
7575
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
7676
</style>
7777
<link rel="stylesheet" href="github-pandoc.css" />
78-
<link rel="Metafacture Icon" type="image/x-icon" href="/img/metafacture-icon.png">
78+
<link rel="Metafacture Icon" type="image/x-icon" href="./img/metafacture-icon.png">
7979
</head>
8080
<body>
8181

82-
<img src="/img/metafacture.png" alt="Metafacture" style="max-width:100%"/>
82+
<img src="./img/metafacture.png" alt="Metafacture" style="max-width:100%"/>
8383

8484
<center>
8585
<b>
86-
<a href="/index.html">Home</a>
86+
<a href="./index.html">Home</a>
8787
&ensp;|&ensp;
88-
<a href="/getting-started.html">Getting started</a>
88+
<a href="./getting-started.html">Getting started</a>
8989
&ensp;|&ensp;
9090
<a href="https://github.com/metafacture/metafacture-documentation">Documentation</a>
9191
&ensp;|&ensp;
92-
<a href="/ide-extensions/index.html">IDE Extensions</a>
92+
<a href="./ide-extensions.html">IDE Extensions</a>
9393
&ensp;|&ensp;
9494
<a href="https://blog.metafacture.org">Blog</a>
9595
&ensp;|&ensp;
9696
<a href="https://metafacture.org/playground">Playground</a>
9797
&ensp;&ensp;
9898
</br>
99-
<a href='https://openbiblio.social/@metafacture'><img src='/img/Mastodon.png'/></a>
99+
<a href='https://openbiblio.social/@metafacture'><img src='./img/Mastodon.png'/></a>
100100

101-
<a href='https://twitter.com/metafacture'><img src='/img/Twitter.png'/></a>
102-
<a href='https://github.com/metafacture'><img src='/img/GitHub.png'/></a>
101+
<a href='https://twitter.com/metafacture'><img src='./img/Twitter.png'/></a>
102+
<a href='https://github.com/metafacture'><img src='./img/GitHub.png'/></a>
103103
</b>
104104
</center>
105105
<header id="title-block-header">

getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Getting started"
33
header-includes:
4-
<link rel="Metafacture Icon" type="image/x-icon" href="/img/metafacture-icon.png">
4+
<link rel="Metafacture Icon" type="image/x-icon" href="./img/metafacture-icon.png">
55
---
66

77
## Playground

ide-extensions/index.html ide-extensions.html

+18-23
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,38 @@
55
<meta name="generator" content="pandoc" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
77
<title>Metafacture – IDE Extensions</title>
8-
<style>
9-
code{white-space: pre-wrap;}
10-
span.smallcaps{font-variant: small-caps;}
11-
span.underline{text-decoration: underline;}
12-
div.column{display: inline-block; vertical-align: top; width: 50%;}
13-
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
14-
ul.task-list{list-style: none;}
8+
<style type="text/css">
9+
code{white-space: pre-wrap;}
10+
span.smallcaps{font-variant: small-caps;}
11+
span.underline{text-decoration: underline;}
12+
div.column{display: inline-block; vertical-align: top; width: 50%;}
1513
</style>
16-
<link rel="stylesheet" href="../github-pandoc.css" />
17-
<!--[if lt IE 9]>
18-
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
19-
<![endif]-->
20-
<link rel="Metafacture Icon" type="image/x-icon" href="/img/metafacture-icon.png">
14+
<link rel="stylesheet" href="github-pandoc.css" />
15+
<link rel="Metafacture Icon" type="image/x-icon" href="./img/metafacture-icon.png">
2116
</head>
2217
<body>
2318

24-
<img src="/img/metafacture.png" alt="Metafacture" style="max-width:100%"/>
19+
<img src="./img/metafacture.png" alt="Metafacture" style="max-width:100%"/>
2520

2621
<center>
2722
<b>
28-
<a href="/index.html">Home</a>
23+
<a href="./index.html">Home</a>
2924
&ensp;|&ensp;
30-
<a href="/getting-started.html">Getting started</a>
25+
<a href="./getting-started.html">Getting started</a>
3126
&ensp;|&ensp;
3227
<a href="https://github.com/metafacture/metafacture-documentation">Documentation</a>
3328
&ensp;|&ensp;
34-
<a href="/ide-extensions/index.html">IDE Extensions</a>
29+
<a href="./ide-extensions.html">IDE Extensions</a>
3530
&ensp;|&ensp;
3631
<a href="https://blog.metafacture.org">Blog</a>
3732
&ensp;|&ensp;
3833
<a href="https://metafacture.org/playground">Playground</a>
3934
&ensp;&ensp;
4035
</br>
41-
<a href='https://openbiblio.social/@metafacture'><img src='/img/Mastodon.png'/></a>
36+
<a href='https://openbiblio.social/@metafacture'><img src='./img/Mastodon.png'/></a>
4237

43-
<a href='https://twitter.com/metafacture'><img src='/img/Twitter.png'/></a>
44-
<a href='https://github.com/metafacture'><img src='/img/GitHub.png'/></a>
38+
<a href='https://twitter.com/metafacture'><img src='./img/Twitter.png'/></a>
39+
<a href='https://github.com/metafacture'><img src='./img/GitHub.png'/></a>
4540
</b>
4641
</center>
4742
<header id="title-block-header">
@@ -58,14 +53,14 @@ <h2 id="setup-a-vs-code-codium-extension">Setup a VS Code / Codium extension</h2
5853
<h2 id="usage">Usage</h2>
5954
<h3 id="flux">Flux</h3>
6055
<p>After installing the IDE extension to VS Code / Codium open a Flux file, for example <a href="https://gitlab.com/oersi/oersi-etl/-/blob/master/data/production/digill/digill-to-oersi.flux">this one</a>. It should look like this:</p>
61-
<p><img src="/img/digill-to-oersi_flux.JPG" alt="Flux editor" style="max-width:100%"/></p>
56+
<p><img src="./img/digill-to-oersi_flux.JPG" alt="Flux editor" style="max-width:100%"/></p>
6257
<p>If you delete for example a necessary bracket you will see in the Problems section that the extension detects problems with the Flux file:</p>
63-
<p><img src="/img/digill-to-oersi_flux_problem.JPG" alt="Flux editor with problems" style="max-width:100%"/></p>
58+
<p><img src="./img/digill-to-oersi_flux_problem.JPG" alt="Flux editor with problems" style="max-width:100%"/></p>
6459
<h3 id="fix">Fix</h3>
6560
<p>After installing the IDE extension to VS Code / Codium open a Flux file, for example <a href="https://gitlab.com/oersi/oersi-etl/-/blob/master/data/production/digill/digill.fix">this one</a>. It should look like this:</p>
66-
<p><img src="/img/digill_fix.JPG" alt="Fix editor" style="max-width:100%"/></p>
61+
<p><img src="./img/digill_fix.JPG" alt="Fix editor" style="max-width:100%"/></p>
6762
<p>If you remove a closing <code>end</code> you will see in the Problems section that the extension detects the missing <code>end</code>:</p>
68-
<p><img src="/img/digill_fix_problem.JPG" alt="Fix editor with problems" style="max-width:100%"/></p>
63+
<p><img src="./img/digill_fix_problem.JPG" alt="Fix editor with problems" style="max-width:100%"/></p>
6964
<h2 id="github">GitHub</h2>
7065
<p>To report issues, see the code, and contribute to the projects, visit: <a href="https://github.com/metafacture/metafacture-fix">Fix Repository</a>, <a href="https://github.com/metafacture/metafacture-flux">Flux Repository</a>.</p>
7166
</body>

ide-extensions/index.md ide-extensions.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "IDE Extensions"
33
header-includes:
4-
<link rel="Metafacture Icon" type="image/x-icon" href="/img/metafacture-icon.png">
4+
<link rel="Metafacture Icon" type="image/x-icon" href="./img/metafacture-icon.png">
55
---
66

77
## Overview
@@ -22,21 +22,21 @@ There are different ways to install extensions for VS Code / Codium.
2222

2323
After installing the IDE extension to VS Code / Codium open a Flux file, for example [this one](https://gitlab.com/oersi/oersi-etl/-/blob/master/data/production/digill/digill-to-oersi.flux). It should look like this:
2424

25-
<img src="/img/digill-to-oersi_flux.JPG" alt="Flux editor" style="max-width:100%"/>
25+
<img src="./img/digill-to-oersi_flux.JPG" alt="Flux editor" style="max-width:100%"/>
2626

2727
If you delete for example a necessary bracket you will see in the Problems section that the extension detects problems with the Flux file:
2828

29-
<img src="/img/digill-to-oersi_flux_problem.JPG" alt="Flux editor with problems" style="max-width:100%"/>
29+
<img src="./img/digill-to-oersi_flux_problem.JPG" alt="Flux editor with problems" style="max-width:100%"/>
3030

3131
### Fix
3232

3333
After installing the IDE extension to VS Code / Codium open a Flux file, for example [this one](https://gitlab.com/oersi/oersi-etl/-/blob/master/data/production/digill/digill.fix). It should look like this:
3434

35-
<img src="/img/digill_fix.JPG" alt="Fix editor" style="max-width:100%"/>
35+
<img src="./img/digill_fix.JPG" alt="Fix editor" style="max-width:100%"/>
3636

3737
If you remove a closing `end` you will see in the Problems section that the extension detects the missing `end`:
3838

39-
<img src="/img/digill_fix_problem.JPG" alt="Fix editor with problems" style="max-width:100%"/>
39+
<img src="./img/digill_fix_problem.JPG" alt="Fix editor with problems" style="max-width:100%"/>
4040

4141
## GitHub
4242

0 commit comments

Comments
 (0)