Skip to content

Commit 378f578

Browse files
committed
update
Signed-off-by: Pranav Singh <[email protected]>
1 parent 4266704 commit 378f578

File tree

121 files changed

+14267
-1816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+14267
-1816
lines changed

.gitignore

+4-25
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
1-
# Binaries for programs and plugins
2-
*.exe
3-
*.exe~
4-
*.dll
5-
*.so
6-
*.dylib
7-
8-
# Test binary, built with `go test -c`
9-
*.test
10-
11-
# Output of the go coverage tool, specifically when used with LiteIDE
12-
*.out
13-
14-
# build output
15-
/node_modules/
16-
17-
# Dependency directories (remove the comment below to include it)
18-
# vendor/
19-
20-
# IDEs
21-
.vscode/*
22-
23-
# Hugo output
241
/public
25-
/resources/
26-
.hugo_build.lock
2+
resources/
3+
node_modules/
4+
package-lock.json
5+
.hugo_build.lock

.golangci.yml

-150
This file was deleted.

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

404.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{ define "main" -}}
2+
<div class="td-content">
3+
<h1>Not found</h1>
4+
<p>Oops! This page doesn't exist. Try going back to the <a href="{{ "" | relURL }}">home page</a>.</p>
5+
<p>You can learn how to make a 404 page like this in <a href="https://gohugo.io/templates/404/">Custom 404 Pages</a>.</p>
6+
</div>
7+
{{- end }}

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM klakegg/hugo:ext-alpine
2+
3+
RUN apk add git && \
4+
git config --global --add safe.directory /src

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ clean:
3636
hugo --cleanDestinationDir
3737
site
3838

39-
.PHONY: setup build site clean site-fast
39+
.PHONY: setup build site clean site-fast

_variables_project.scss

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
3+
Add styles or override variables from the theme here.
4+
5+
*/
6+

archetypes/default.md

-5
This file was deleted.

config.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# THIS IS A TEST CONFIG ONLY!
2+
# FOR THE CONFIGURATION OF YOUR SITE USE hugo.yaml.
3+
#
4+
# As of Docsy 0.7.0, Hugo 0.110.0 or later must be used.
5+
#
6+
# The sole purpose of this config file is to detect Hugo-module builds that use
7+
# an older version of Hugo.
8+
#
9+
# DO NOT add any config parameters to this file. You can safely delete this file
10+
# if your project is using the required Hugo version.
11+
12+
module:
13+
hugoVersion:
14+
extended: true
15+
min: 0.110.0

content/en/_index.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Goldydocs
3+
---
4+
5+
{{< blocks/cover title="Welcome to Goldydocs: A Docsy Example Project!" image_anchor="top" height="full" >}}
6+
<a class="btn btn-lg btn-primary me-3 mb-4" href="/docs/">
7+
Learn More <i class="fas fa-arrow-alt-circle-right ms-2"></i>
8+
</a>
9+
<a class="btn btn-lg btn-secondary me-3 mb-4" href="https://github.com/google/docsy-example">
10+
Download <i class="fab fa-github ms-2 "></i>
11+
</a>
12+
<p class="lead mt-5">Porridge temperature assessment &mdash; in the cloud!</p>
13+
{{< blocks/link-down color="info" >}}
14+
{{< /blocks/cover >}}
15+
16+
17+
{{% blocks/lead color="primary" %}}
18+
Goldydocs provides a single web UI providing visibility into porridge
19+
temperature, chair size, and bed softness metrics! You can even find out who's
20+
been eating **your** porridge.
21+
22+
(Sadly, Goldydocs isn't a real project, but you can use this site as an example
23+
to create your own real websites with [Docsy](https://docsy.dev))
24+
{{% /blocks/lead %}}
25+
26+
27+
{{% blocks/section color="dark" type="row" %}}
28+
{{% blocks/feature icon="fa-lightbulb" title="New chair metrics!" %}}
29+
The Goldydocs UI now shows chair size metrics by default.
30+
31+
Please follow this space for updates!
32+
{{% /blocks/feature %}}
33+
34+
35+
{{% blocks/feature icon="fab fa-github" title="Contributions welcome!" url="https://github.com/google/docsy-example" %}}
36+
We do a [Pull Request](https://github.com/google/docsy-example/pulls) contributions workflow on **GitHub**. New users are always welcome!
37+
{{% /blocks/feature %}}
38+
39+
40+
{{% blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!" url="https://twitter.com/docsydocs" %}}
41+
For announcement of latest features etc.
42+
{{% /blocks/feature %}}
43+
44+
45+
{{% /blocks/section %}}
46+
47+
48+
{{% blocks/section %}}
49+
This is the second section
50+
{.h1 .text-center}
51+
{{% /blocks/section %}}
52+
53+
54+
{{% blocks/section type="row" %}}
55+
56+
{{% blocks/feature icon="fab fa-app-store-ios" title="Download **from AppStore**" %}}
57+
Get the Goldydocs app!
58+
{{% /blocks/feature %}}
59+
60+
{{% blocks/feature icon="fab fa-github" title="Contributions welcome!"
61+
url="https://github.com/google/docsy-example" %}}
62+
We do a [Pull Request](https://github.com/google/docsy-example/pulls)
63+
contributions workflow on **GitHub**. New users are always welcome!
64+
{{% /blocks/feature %}}
65+
66+
{{% blocks/feature icon="fab fa-twitter" title="Follow us on Twitter!"
67+
url="https://twitter.com/GoHugoIO" %}}
68+
For announcement of latest features etc.
69+
{{% /blocks/feature %}}
70+
71+
{{% /blocks/section %}}
72+
73+
74+
{{% blocks/section %}}
75+
This is the another section
76+
{.h1 .text-center}
77+
{{% /blocks/section %}}
485 KB
Loading

content/en/about/index.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: About Goldydocs
3+
linkTitle: About
4+
menu: {main: {weight: 10}}
5+
---
6+
7+
{{% blocks/cover title="About Goldydocs" image_anchor="bottom" height="auto" %}}
8+
9+
A sample site using the Docsy Hugo theme.
10+
{.mt-5}
11+
12+
{{% /blocks/cover %}}
13+
14+
{{% blocks/lead %}}
15+
16+
Goldydocs is a sample site using the [Docsy](https://github.com/google/docsy)
17+
Hugo theme that shows what it can do and provides you with a template site
18+
structure. It’s designed for you to clone and edit as much as you like. See the
19+
different sections of the documentation and site for more ideas.
20+
21+
{{% /blocks/lead %}}
22+
23+
{{% blocks/section %}}
24+
25+
# This is another section
26+
{.text-center}
27+
28+
{{% /blocks/section %}}
29+
30+
{{% blocks/section %}}
31+
32+
# This is another section
33+
{.text-center}
34+
35+
{{% /blocks/section %}}

content/en/blog/_index.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: Blog
3+
menu: {main: {weight: 30}}
4+
---
5+
6+
This is the **blog** section. It has two categories: News and Releases.
7+
8+
Files in these directories will be listed in reverse chronological order.

content/en/blog/news/_index.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: News
3+
weight: 20
4+
---
Loading

0 commit comments

Comments
 (0)