Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
formatux
formatux website
Commits
6e568d2f
Commit
6e568d2f
authored
Sep 11, 2019
by
Antoine Le Morvan
Browse files
Fix
#5
#6
Add icon to admonition and integrate google analytics
parent
1b3889cf
Pipeline
#165136
passed with stage
in 45 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6e568d2f
...
...
@@ -10,7 +10,7 @@ pages:
paths
:
-
.cache/
script
:
-
antora --fetch --cache-dir=.cache/antora
--to-dir=public
site.yml
-
antora --fetch --cache-dir=.cache/antora site.yml
artifacts
:
paths
:
-
public/
...
...
@@ -23,7 +23,7 @@ develop:
paths
:
-
.cache/
script
:
-
antora --fetch --cache-dir=.cache/antora
--to-dir=public
site.yml
-
antora --fetch --cache-dir=.cache/antora site.yml
artifacts
:
paths
:
-
public/
site.yml
View file @
6e568d2f
...
...
@@ -3,6 +3,8 @@ site:
# the 404 page and sitemap files only get generated when the url property is set
url
:
https://site.formatux.fr/
start_page
:
formatux-formatux::index.adoc
keys
:
google_analytics
:
'
G-JDTP02PXVV'
content
:
sources
:
-
url
:
https://framagit.org/formatux/formatux-formatux.git
...
...
@@ -31,3 +33,5 @@ ui:
url
:
https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
snapshot
:
true
supplemental_files
:
./supplemental-ui
output
:
dir
:
./public
supplemental-ui/css/site-extra.css
View file @
6e568d2f
...
...
@@ -66,3 +66,38 @@
font-size
:
22px
;
padding-right
:
5px
;
}
.doc
.admonitionblock
.icon
{
border-radius
:
1rem
;
}
i
.fa
[
class
^=
'icon-'
],
i
.fa
[
class
*=
' icon-'
]
::before
{
content
:
""
;
height
:
1.25rem
;
width
:
1.25rem
;
margin-right
:
0.25rem
;
margin-left
:
-0.5rem
;
}
i
.fa.icon-note
::before
{
background
:
no-repeat
url("../img/note.svg")
;
}
i
.fa.icon-tip
::before
{
background
:
no-repeat
url("../img/tip.svg")
;
}
i
.fa.icon-important
::before
{
background
:
no-repeat
url("../img/important.svg")
;
}
i
.fa.icon-warning
::before
{
background
:
no-repeat
url("../img/warning.svg")
;
}
i
.fa.icon-caution
::before
{
background
:
no-repeat
url("../img/caution.svg")
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment