[gxml] CI: pages: making room for dev/stable documentations
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] CI: pages: making room for dev/stable documentations
- Date: Mon, 8 Jul 2019 14:42:36 +0000 (UTC)
commit bf243f9ab07a18f90a340729a9b03e03a3aba130
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Jul 8 09:09:36 2019 -0500
CI: pages: making room for dev/stable documentations
.gitlab-ci.yml | 9 +++++----
docs/index.html | 12 ++++++++++++
docs/site/index.html | 12 ++++++++++++
docs/site/styles.css | 11 +++++++++++
docs/styles.css | 11 +++++++++++
5 files changed, 51 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd1716d..d548c32 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ before_script:
build:
stage: build
script:
- - meson _build -Ddisable-introspection=false -Ddisable-valadocs=false
+ - meson _build -Dintrospection=false -Ddocs=false
- cd _build
- ninja
- meson test
@@ -32,12 +32,13 @@ build:
pages:
stage: deploy
script:
- - meson _build -Ddisable-docs=false
+ - meson _build -Ddocs=false
- cd _build
- ninja
- - mv docs/GXml-* ../public
+ - mv _build/docs/site ../public
+ - mv docs/GXml-* ../public/dev
- cd ..
- - mv public/index.htm public/index.html
+ - mv public/dev/index.htm public/index.html
artifacts:
paths:
- public
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..7f78fbd
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,12 @@
+<html>
+ <header>
+ <title>GXML Documentation</title>
+ <link rel="stylesheet" href="styles.css">
+ </header>
+ <body>
+ <h1>Latest Stable</h1>
+ <p>Represent the version actually the <a href="stable/index.html">stable release branch</a>.</p>
+ <h1>Development</h1>
+ <p>Represent the <a href="dev/index.html">master branch</a>.</p>
+ </body>
+</html>
diff --git a/docs/site/index.html b/docs/site/index.html
new file mode 100644
index 0000000..7f78fbd
--- /dev/null
+++ b/docs/site/index.html
@@ -0,0 +1,12 @@
+<html>
+ <header>
+ <title>GXML Documentation</title>
+ <link rel="stylesheet" href="styles.css">
+ </header>
+ <body>
+ <h1>Latest Stable</h1>
+ <p>Represent the version actually the <a href="stable/index.html">stable release branch</a>.</p>
+ <h1>Development</h1>
+ <p>Represent the <a href="dev/index.html">master branch</a>.</p>
+ </body>
+</html>
diff --git a/docs/site/styles.css b/docs/site/styles.css
new file mode 100644
index 0000000..78d0df4
--- /dev/null
+++ b/docs/site/styles.css
@@ -0,0 +1,11 @@
+h1 {
+ font-size: 110%;
+ font-family: Sans;
+ color: lightblue;
+}
+
+p {
+ font-size: 100%;
+ font-family: Sans;
+ color: darkgreen;
+}
diff --git a/docs/styles.css b/docs/styles.css
new file mode 100644
index 0000000..78d0df4
--- /dev/null
+++ b/docs/styles.css
@@ -0,0 +1,11 @@
+h1 {
+ font-size: 110%;
+ font-family: Sans;
+ color: lightblue;
+}
+
+p {
+ font-size: 100%;
+ font-family: Sans;
+ color: darkgreen;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]