Skip to content

Commit c5d6ddc

Browse files
author
Carlos Santana
authored
Brian's home page version (#461)
Signed-off-by: Carlos Santana <csantana23@gmail.com>
1 parent 59eca31 commit c5d6ddc

File tree

11 files changed

+245
-104
lines changed

11 files changed

+245
-104
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Cloud Native Toolkit - Developer Guide
22

3-
[![Publish](https://github.com/cloud-native-toolkit/ibm-garage-developer-guide/actions/workflows/publish.yaml/badge.svg)](https://github.com/cloud-native-toolkit/ibm-garage-developer-guide/actions/workflows/publish.yaml)
3+
[![Publish](https://github.com/cloud-native-toolkit/developer-guide/actions/workflows/publish.yaml/badge.svg)](https://github.com/cloud-native-toolkit/developer-guide/actions/workflows/publish.yaml)
44

5-
[![Publish Beta](https://github.com/cloud-native-toolkit/ibm-garage-developer-guide/actions/workflows/publish-beta.yaml/badge.svg)](https://github.com/cloud-native-toolkit/ibm-garage-developer-guide/actions/workflows/publish-beta.yaml)
5+
[![Publish Beta](https://github.com/cloud-native-toolkit/developer-guide/actions/workflows/publish-beta.yaml/badge.svg)](https://github.com/cloud-native-toolkit/developer-guide/actions/workflows/publish-beta.yaml)
66

7-
![Release](https://img.shields.io/github/v/release/cloud-native-toolkit/ibm-garage-developer-guide)
7+
![Release](https://img.shields.io/github/v/release/cloud-native-toolkit/developer-guide)
88

99
[![Docker Repository on Quay](https://quay.io/repository/ibmgaragecloud/toolkit-guide/status "Docker Repository on Quay")](https://quay.io/repository/ibmgaragecloud/toolkit-guide)
1010

@@ -13,7 +13,7 @@ lifecycle of cloud native development with IBM Kubernetes Service or managed Red
1313

1414
The rendered Developer Guide can be viewed here - [https://cloudnativetoolkit.dev](https://cloudnativetoolkit.dev)
1515

16-
*Note*: The Beta version of the Developer Guide can be found here - [https://cloud-native-toolkit.github.io/ibm-garage-developer-guide-beta/](https://cloud-native-toolkit.github.io/ibm-garage-developer-guide-beta/)
16+
*Note*: The Beta version of the Developer Guide can be found here - [https://beta.cloudnativetoolkit.dev](https://beta.cloudnativetoolkit.dev)
1717

1818
It is primarily used to document features that are currently in Beta prior to releasing those features (and the associated documentation). The content for the Beta version of the Developer Guide is sourced from the `beta` branch.
1919

docs/adopting/best-practices/ibm-cloud-account/configure-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Second, we'll use some scripts in the steps below to help create access groups.
3737

3838
Clone the Git repository with the scripts. (This repo also has the scripts for installing the environment.)
3939

40-
- Clone the [ibm-garage-iteration-zero](https://github.com/ibm-garage-cloud/ibm-garage-iteration-zero){: target=_blank} Git repository to your local filesystem
40+
- Clone the [ibm-garage-iteration-zero](https://github.com/cloud-native-toolkit/ibm-garage-iteration-zero){: target=_blank} Git repository to your local filesystem
4141

4242
```shell
43-
git clone git@github.com:ibm-garage-cloud/ibm-garage-iteration-zero.git
43+
git clone git@github.com:cloud-native-toolkit/ibm-garage-iteration-zero.git
4444
```
4545

4646
- Switch to the cloned directory

docs/adopting/best-practices/ibm-cloud-account/plan-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ We'll use some scripts in the steps below to help create access groups. Here, we
4747

4848
Clone the Git repository with the scripts. (This repo also has the scripts for installing the environment.)
4949

50-
- Clone the [ibm-garage-iteration-zero](https://github.com/ibm-garage-cloud/ibm-garage-iteration-zero){: target=_blank} Git repository to your local filesystem
50+
- Clone the [ibm-garage-iteration-zero](https://github.com/cloud-native-toolkit/ibm-garage-iteration-zero){: target=_blank} Git repository to your local filesystem
5151

5252
```shell
53-
git clone git@github.com:ibm-garage-cloud/ibm-garage-iteration-zero.git
53+
git clone git@github.com:cloud-native-toolkit/ibm-garage-iteration-zero.git
5454
```
5555

5656
- Switch to the cloned directory

linkcheckerrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
checkextern=1
33
ignore=
44
^https://cloudnativetoolkit.dev
5-
^https://github.com/cloud-native-toolkit/ibm-garage-developer-guide/edit
5+
^https://github.com/cloud-native-toolkit/developer-guide/edit
66
xml.gz$
77
^https://ccp-ui.csplab.intranet.ibm.com
88
^https://ccp-ui.apps.labprod.ocp.csplab.local

mkdocs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ site_description: >-
33
The Cloud-Native Toolkit is an open-source collection of assets that enable application development and support teams to deliver business value quickly using Red Hat OpenShift or Kubernetes
44
site_url: https://cloudnativetoolkit.dev
55
site_author: Cloud-Native Toolkit development team
6-
repo_name: cloud-native-toolkit/ibm-garage-developer-guide
7-
repo_url: https://github.com/cloud-native-toolkit/ibm-garage-developer-guide
6+
repo_name: cloud-native-toolkit/developer-guide
7+
repo_url: https://github.com/cloud-native-toolkit/developer-guide
88
docs_dir: docs
99
site_dir: public
1010
edit_uri: edit/main/docs
@@ -21,11 +21,11 @@ theme:
2121
language: en
2222
custom_dir: overrides
2323
features:
24-
- navigation.tabs
24+
# - navigation.tabs
2525
- navigation.instant
2626
- navigation.tracking
27-
- navigation.tabs.sticky
28-
- navigation.top
27+
# - navigation.tabs.sticky
28+
# - navigation.top
2929
use_directory_urls: false
3030
plugins:
3131
- search:

overrides/assets/stylesheets/home.css

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
.md-container {
2-
background-color: #161616;
3-
}
41
.home-hero {
52
max-width: 100%;
63
height: 45vh;
74
max-height: 560px;
85
width: 100%;
9-
background: #161616;
106
position: relative;
117
}
128

@@ -74,47 +70,20 @@
7470
padding: 0;
7571
}
7672

77-
.md-main__inner .md-content__inner:before {
78-
display: none;
79-
}
80-
81-
@media screen and (min-width: 60em) {
82-
.md-sidebar--secondary {
83-
display: none;
84-
}
85-
}
86-
87-
88-
@media screen and (min-width: 76.25em) {
89-
.md-sidebar--primary {
90-
display: none;
91-
}
92-
}
93-
9473
.md-typeset img,
9574
.md-typeset svg {
9675
max-width: initial;
9776
}
9877

99-
section {
100-
color: #fff;
101-
}
102-
body {
103-
background: var(--md-primary-fg-color);
104-
background: #5063d0;
105-
background: #0071c7;
106-
background: var(--home-color);
78+
:root >* {
79+
--md-default-bg-color: #161616; /* background */
80+
--md-primary-bg-color: #fff; /* Title bar text */
81+
--md-typeset-a-color: #aaa; /* Additional header text */
82+
--md-typeset-color: #fff; /* nav text normal */
83+
--md-accent-fg-color: #9f9; /* text hover + highlight*/
84+
--md-default-fg-color--lighter: #33f; /* Nav scroll bar */
85+
--md-primary-bg-color--light: #fff; /* Search bar text */
86+
--md-default-fg-color: #fff; /* Search result box section header */
87+
--md-default-fg-color--light: #eee; /* Search box result text */
88+
10789
}
108-
109-
110-
111-
@media only screen and (max-width: 800px) {
112-
.component-flex {
113-
flex-wrap: wrap;
114-
}
115-
}
116-
117-
118-
119-
120-

overrides/home.html

Lines changed: 83 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,90 @@
1-
{% extends "main.html" %} {% block content %}
1+
<!--
2+
Copyright (c) 2016-2021 Martin Donath <martin.donath@squidfunk.com>
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to
6+
deal in the Software without restriction, including without limitation the
7+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8+
sell copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+
IN THE SOFTWARE.
21+
-->
22+
23+
{% extends "main.html" %}
24+
225
<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css' | url }}" />
326

4-
<div class="md-container">
5-
<section>
6-
<div class=home-hero>
7-
<div class=home-hero-text>
8-
<h1>Cloud Native Toolkit</h1>
9-
</div>
10-
<div class=home-hero-image>
11-
</div>
12-
</div>
13-
</section>
14-
<section>
15-
<div class=home-description>
16-
<div class='row'>
17-
<div class='column'>
18-
Cloud-Native Toolkit
19-
</div>
20-
<div class='column'>
21-
The Cloud-Native Toolkit is an open-source collection of assets
22-
that enable application development and support teams to deliver business value
23-
quickly using Red Hat OpenShift or IBM Cloud-managed Kubernetes.
24-
This guide provides information to help Developers, Administrators,
25-
and Site Reliability Engineers use the Toolkit to support delivering business
26-
applications through the entire Software Development Life Cycle (SDLC).
27-
</div>
28-
</div>
29-
</div>
30-
</section>
31-
<section>
32-
<div class=home-purpose>
33-
<div class='row'>
34-
<div class='column'>
35-
Fit to purpose
36-
</div>
37-
<div class='column'>
38-
The Cloud-Native Toolkit environment has been built to support the principles
39-
of a robust SDLC while being flexible enough to fit into a wide range of
40-
development settings and toolchains. The Cloud-Native Toolkit supports different
41-
tool selections, from open source versions of tools like Artifactory and SonarQube to
42-
enterprise-class software like IBM Cloud Pak for Applications and IBM Multicloud Manager.
43-
</div>
27+
<!-- Tabs -->
28+
{% block tabs %}{% endblock %}
29+
30+
<!-- Content -->
31+
{% block content %}
32+
33+
<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css' | url }}" />
34+
<!-- Hero for landing page -->
35+
<section class="mdx-container">
36+
<div class="md-grid md-typeset">
37+
<div class="mdx-hero">
38+
39+
<section>
40+
<div class=home-hero>
41+
<div class=home-hero-text>
42+
<h1>Cloud Native Toolkit</h1>
43+
</div>
44+
<div class=home-hero-image>
45+
</div>
46+
</div>
47+
</section>
48+
<section>
49+
<div class=home-description>
50+
<div class='row'>
51+
<div class='column'>
52+
Cloud-Native Toolkit
53+
</div>
54+
<div class='column'>
55+
The Cloud-Native Toolkit is an open-source collection of assets
56+
that enable application development and support teams to deliver business value
57+
quickly using Red Hat OpenShift or IBM Cloud-managed Kubernetes.
58+
This guide provides information to help Developers, Administrators,
59+
and Site Reliability Engineers use the Toolkit to support delivering business
60+
applications through the entire Software Development Life Cycle (SDLC).
61+
</div>
62+
</div>
63+
</div>
64+
</section>
65+
<section>
66+
<div class=home-purpose>
67+
<div class='row'>
68+
<div class='column'>
69+
Fit to purpose
70+
</div>
71+
<div class='column'>
72+
The Cloud-Native Toolkit environment has been built to support the principles
73+
of a robust SDLC while being flexible enough to fit into a wide range of
74+
development settings and toolchains. The Cloud-Native Toolkit supports different
75+
tool selections, from open source versions of tools like Artifactory and SonarQube to
76+
enterprise-class software like IBM Cloud Pak for Applications and IBM Multicloud Manager.
77+
</div>
78+
</div>
79+
</div>
80+
</section>
4481
</div>
4582
</div>
4683
</section>
47-
</div>
84+
{% endblock %}
4885

86+
<!-- Application footer -->
87+
{% block footer %}
88+
{{ super() }}
4989
{% endblock %}
90+

overrides/main.html

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<!--
2+
Copyright (c) 2016-2021 Martin Donath <martin.donath@squidfunk.com>
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to
6+
deal in the Software without restriction, including without limitation the
7+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8+
sell copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+
IN THE SOFTWARE.
21+
-->
22+
23+
{% extends "base.html" %}
24+
25+
<!-- Custom front matter -->
26+
{% block extrahead %}
27+
28+
<!-- Determine title -->
29+
{% set title = config.site_name %}
30+
{% if page and page.title and not page.is_homepage %}
31+
{% set title = config.site_name ~ " - " ~ page.title | striptags %}
32+
{% endif %}
33+
34+
<!-- The image needs to have an absolute URL -->
35+
{% set image = config.site_url ~ 'assets/images/banner.png' %}
36+
37+
<!-- Open graph meta tags -->
38+
<meta property="og:type" content="website" />
39+
<meta property="og:title" content="{{ title }}" />
40+
<meta property="og:description" content="{{ config.site_description }}" />
41+
<meta property="og:url" content="{{ page.canonical_url }}" />
42+
<meta property="og:image" content="{{ image }}" />
43+
<meta property="og:image:type" content="image/png" />
44+
<meta property="og:image:width" content="1080" />
45+
<meta property="og:image:height" content="568" />
46+
47+
48+
{% endblock %}
49+
50+
<!-- Announcement bar -->
51+
{% block announce %}
52+
<a href="https://cloud-native-toolkit.github.io/dev-guide">
53+
Previous version of site can be found here
54+
</a>
55+
{% endblock %}
56+
57+
<!-- Theme-related JavaScript -->
58+
{% block scripts %}
59+
{{ super() }}
60+
61+
{% endblock %}

0 commit comments

Comments
 (0)