Skip to content

Commit 5ea9277

Browse files
Itai GendlerItai Gendler
authored andcommitted
Update documentation
1 parent ba48812 commit 5ea9277

File tree

10 files changed

+94
-200
lines changed

10 files changed

+94
-200
lines changed

docs-template/archetypes/default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "{{ replace .TranslationBaseName "-" " " | title }}"
33
date: {{ .Date }}
4-
draft: true
4+
draft: false
55
---
66

docs-template/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ theme = "docuapi"
22
baseurl = "http://docuapi.com/"
33
title = "Codefresh CLI Documentation"
44
publishDir = "../docs"
5+
languageCode = "en-us"
6+
57

68
# Code higlighting settings
79
pygmentsCodefences = true

docs/404.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en-us">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66

7-
<title>Codefresh CLI Documentation | 404 Page not found</title>
7+
<title>My New Hugo Site | 404 Page not found</title>
88
<meta name="HandheldFriendly" content="True">
99
<meta name="MobileOptimized" content="320">
1010

@@ -15,14 +15,14 @@
1515
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
1616

1717

18-
<link href='http://docuapi.com/dist/main.css' rel='stylesheet' type="text/css" />
18+
<link href='http://example.org/dist/main.css' rel='stylesheet' type="text/css" />
1919

2020

2121

2222

2323

24-
<link href="http://docuapi.com/index.xml" rel="alternate" type="application/rss+xml" title="Codefresh CLI Documentation" />
25-
<link href="http://docuapi.com/index.xml" rel="feed" type="application/rss+xml" title="Codefresh CLI Documentation" />
24+
<link href="http://example.org/index.xml" rel="alternate" type="application/rss+xml" title="My New Hugo Site" />
25+
<link href="http://example.org/index.xml" rel="feed" type="application/rss+xml" title="My New Hugo Site" />
2626

2727

2828
<meta property="og:title" content="404 Page not found" />
@@ -59,8 +59,8 @@
5959
<div class="bg-black">
6060
<nav class="pv3 ph3 ph4-ns" role="navigation">
6161
<div class="flex-l justify-between items-center center">
62-
<a href="http://docuapi.com/" class="f3 fw2 hover-white no-underline white-90 dib">
63-
Codefresh CLI Documentation
62+
<a href="http://example.org/" class="f3 fw2 hover-white no-underline white-90 dib">
63+
My New Hugo Site
6464
</a>
6565
<div class="flex-l items-center">
6666

@@ -92,8 +92,8 @@ <h1>
9292
</main>
9393
<footer class="bg-near-black bottom-0 w-100 pa3" role="contentinfo">
9494
<div class="flex justify-between">
95-
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://docuapi.com/" >
96-
&copy; 2018 Codefresh CLI Documentation
95+
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://example.org/" >
96+
&copy; 2018 My New Hugo Site
9797
</a>
9898

9999

@@ -107,7 +107,7 @@ <h1>
107107
</div>
108108
</footer>
109109

110-
<script src="http://docuapi.com/dist/app.bundle.js" async></script>
110+
<script src="http://example.org/dist/app.bundle.js" async></script>
111111

112112
</body>
113113
</html>

docs/categories/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en-us">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66

7-
<title>Codefresh CLI Documentation | Categories</title>
7+
<title>My New Hugo Site | Categories</title>
88
<meta name="HandheldFriendly" content="True">
99
<meta name="MobileOptimized" content="320">
1010

@@ -15,20 +15,20 @@
1515
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
1616

1717

18-
<link href='http://docuapi.com/dist/main.css' rel='stylesheet' type="text/css" />
18+
<link href='http://example.org/dist/main.css' rel='stylesheet' type="text/css" />
1919

2020

2121

2222

2323

24-
<link href="http://docuapi.com/categories/index.xml" rel="alternate" type="application/rss+xml" title="Codefresh CLI Documentation" />
25-
<link href="http://docuapi.com/categories/index.xml" rel="feed" type="application/rss+xml" title="Codefresh CLI Documentation" />
24+
<link href="http://example.org/categories/index.xml" rel="alternate" type="application/rss+xml" title="My New Hugo Site" />
25+
<link href="http://example.org/categories/index.xml" rel="feed" type="application/rss+xml" title="My New Hugo Site" />
2626

2727

2828
<meta property="og:title" content="Categories" />
2929
<meta property="og:description" content="" />
3030
<meta property="og:type" content="website" />
31-
<meta property="og:url" content="http://docuapi.com/categories/" />
31+
<meta property="og:url" content="http://example.org/categories/" />
3232

3333

3434

@@ -57,12 +57,12 @@
5757

5858

5959

60-
<header class="cover bg-top" style="background-image: url('http://docuapi.com/images/gohugo-default-sample-hero-image.jpg');">
60+
<header class="cover bg-top" style="background-image: url('http://example.org/images/gohugo-default-sample-hero-image.jpg');">
6161
<div class="bg-black-60">
6262
<nav class="pv3 ph3 ph4-ns" role="navigation">
6363
<div class="flex-l justify-between items-center center">
64-
<a href="http://docuapi.com/" class="f3 fw2 hover-white no-underline white-90 dib">
65-
Codefresh CLI Documentation
64+
<a href="http://example.org/" class="f3 fw2 hover-white no-underline white-90 dib">
65+
My New Hugo Site
6666
</a>
6767
<div class="flex-l items-center">
6868

@@ -106,8 +106,8 @@ <h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
106106
</main>
107107
<footer class="bg-near-black bottom-0 w-100 pa3" role="contentinfo">
108108
<div class="flex justify-between">
109-
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://docuapi.com/" >
110-
&copy; 2018 Codefresh CLI Documentation
109+
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://example.org/" >
110+
&copy; 2018 My New Hugo Site
111111
</a>
112112

113113

@@ -121,7 +121,7 @@ <h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
121121
</div>
122122
</footer>
123123

124-
<script src="http://docuapi.com/dist/app.bundle.js" async></script>
124+
<script src="http://example.org/dist/app.bundle.js" async></script>
125125

126126
</body>
127127
</html>

docs/categories/index.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
22
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
33
<channel>
4-
<title>Categories on Codefresh CLI Documentation</title>
5-
<link>http://docuapi.com/categories/</link>
6-
<description>Recent content in Categories on Codefresh CLI Documentation</description>
4+
<title>Categories on My New Hugo Site</title>
5+
<link>http://example.org/categories/</link>
6+
<description>Recent content in Categories on My New Hugo Site</description>
77
<generator>Hugo -- gohugo.io</generator>
8+
<language>en-us</language>
89

9-
<atom:link href="http://docuapi.com/categories/index.xml" rel="self" type="application/rss+xml" />
10+
<atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />
1011

1112

1213
</channel>

0 commit comments

Comments
 (0)