Skip to content

Commit

Permalink
(CAT-1930) - fix build dir for jekyll gh-actions, links and stying
Browse files Browse the repository at this point in the history
  • Loading branch information
danadoherty639 committed Jul 4, 2024
1 parent 2c8b9cf commit 2230b33
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
source: ./docs/
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gfm_quirks: paragraph_end
lsi: false
safe: true
incremental: false
url: https://puppetlabs.github.io/rspec-puppet
gist:
noscript: false
markdown: kramdown
10 changes: 5 additions & 5 deletions docs/_layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<meta name="author" content="">
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Global CSS -->
<link rel="stylesheet" href="/assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="{{site.url}}/assets/plugins/bootstrap/css/bootstrap.min.css">
<!-- Plugins CSS -->
<link rel="stylesheet" href="/assets/plugins/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="{{site.url}}/assets/plugins/font-awesome/css/font-awesome.css">

<!-- Theme CSS -->
<link id="theme-style" rel="stylesheet" href="/assets/css/styles.css">
<link rel="stylesheet" href="/assets/css/monokai.css">
<link id="theme-style" rel="stylesheet" href="{{site.url}}/assets/css/styles.css">
<link rel="stylesheet" href="{{site.url}}/assets/css/monokai.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
Expand All @@ -40,7 +40,7 @@ <h1 class="logo">
</h1>
</div><!--//branding-->
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="{{site.url}}">Home</a></li>
{% for crumb in page.breadcrumbs %}
<li><a href="{{ crumb.path }}">{{ crumb.name }}</a></li>
{% endfor %}
Expand Down
8 changes: 4 additions & 4 deletions docs/_layouts/cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<meta name="author" content="">
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Global CSS -->
<link rel="stylesheet" href="/assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="{{site.url}}/assets/plugins/bootstrap/css/bootstrap.min.css">
<!-- Plugins CSS -->
<link rel="stylesheet" href="/assets/plugins/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="{{site.url}}/assets/plugins/font-awesome/css/font-awesome.css">

<!-- Theme CSS -->
<link rel="stylesheet" href="/assets/css/monokai.css">
<link id="theme-style" rel="stylesheet" href="/assets/css/styles.css">
<link rel="stylesheet" href="{{site.url}}/assets/css/monokai.css">
<link id="theme-style" rel="stylesheet" href="{{site.url}}/assets/css/styles.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
Expand Down
20 changes: 11 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
Expand All @@ -12,13 +14,13 @@
<meta name="author" content="">
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Global CSS -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ site.url }}/assets/plugins/bootstrap/css/bootstrap.min.css">
<!-- Plugins CSS -->
<link rel="stylesheet" href="assets/plugins/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="assets/css/monokai.css">
<link rel="stylesheet" href="{{ site.url }}/assets/plugins/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/monokai.css">

<!-- Theme CSS -->
<link id="theme-style" rel="stylesheet" href="assets/css/styles.css">
<link id="theme-style" rel="stylesheet" href="{{ site.url }}/assets/css/styles.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
Expand Down Expand Up @@ -54,9 +56,9 @@ <h5>(The rest is a bit more difficult though)</h5>
$ cd your-module
$ rspec-puppet-init
</code></pre></div>
<p>Then continue on to the <a href="/tutorial/">tutorial!</a></p>
<p>Then continue on to the <a href="{{ site.url }}/tutorial">tutorial!</a></p>
<div class="cta-container">
<a class="btn btn-primary btn-cta" href="https://github.com/rodjek/rspec-puppet/" target="_blank"><i class="fa fa-github"></i> View on GitHub</a>
<a class="btn btn-primary btn-cta" href="https://rspec.info/documentation/" target="_blank"><i class="fa fa-github"></i> View on GitHub</a>
</div><!--//cta-container-->
</div><!--//intro-->
<div id="cards-wrapper" class="cards-wrapper row">
Expand All @@ -67,7 +69,7 @@ <h5>(The rest is a bit more difficult though)</h5>
</div><!--//icon-holder-->
<h3 class="title">Tutorial</h3>
<p class="intro">A step-by-step introduction to behaviour-driven Puppet development</p>
<a class="link" href="/tutorial/"><span></span></a>
<a class="link" href="{{ site.url }}/tutorial"><span></span></a>
</div><!--//item-inner-->
</div><!--//item-->
<div class="item item-pink item-2 col-md-4 col-sm-6 col-xs-6">
Expand All @@ -77,7 +79,7 @@ <h3 class="title">Tutorial</h3>
</div><!--//icon-holder-->
<h3 class="title">Documentation</h3>
<p class="intro">Everything you need to know</p>
<a class="link" href="/documentation/"><span></span></a>
<a class="link" href="{{ site.url }}/documentation/"><span></span></a>
</div><!--//item-inner-->
</div><!--//item-->
<div class="item item-purple col-md-4 col-sm-6 col-xs-6">
Expand All @@ -87,7 +89,7 @@ <h3 class="title">Documentation</h3>
</div><!--//icon-holder-->
<h3 class="title">Changelog</h3>
<p class="intro">Check out what's changed in the latest release</p>
<a class="link" href="/changelog/"><span></span></a>
<a class="link" href="{{ site.url }}/changelog/"><span></span></a>
</div><!--//item-inner-->
</div><!--//item-->
</div><!--//cards-->
Expand Down

0 comments on commit 2230b33

Please sign in to comment.