Skip to content

Commit

Permalink
Merge pull request #2194 from leslitagordita/rc-0.4
Browse files Browse the repository at this point in the history
[RELEASE CANDIDATE] RC-0.4
  • Loading branch information
nmelehan authored Dec 19, 2018
2 parents f814f89 + fb16286 commit e24b857
Show file tree
Hide file tree
Showing 125 changed files with 3,738 additions and 255 deletions.
22 changes: 17 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,35 @@ Use [Chocolatey](https://chocolatey.org/) to install Hugo on Windows:

This section takes you through the process of creating a new guide using the topic of installing nginx on Debian as an example. You can use a [Hugo archetype](https://gohugo.io/content-management/archetypes/) to simplify the process.

1. Create a new branch for your guide:
1. Checkout the develop branch:

git checkout develop

2. Update the develop branch with the latest changes. If this is the first time creating a new guide, you will have to first add the docs repository as a remote:

git remote add upstream https://github.com/linode/docs.git

Update the develop branch:

git pull upstream develop

3. Create a new branch for your guide:

git checkout -b nginx-on-debian

2. From the root of the `docs` repo, run the following command. Specify the location and title of your guide; the example nginx guide should be located in `web-servers/nginx`. This will create a markdown file populated with YAML front matter:
4. From the root of the `docs` repo, run the following command. Specify the location and title of your guide; the example nginx guide should be located in `web-servers/nginx`. This will create a markdown file populated with YAML front matter:

hugo new web-servers/nginx/how-to-install-nginx-on-debian/index.md --kind content

This will create a subdirectory with the guide's intended url, with an `index.md` file inside that will hold the guide's contents. Any images should be added inside this directory as well.
This will create a subdirectory with the guide's intended url, with an `index.md` file inside that will hold the guide's contents. Any images should be added inside this directory as well.

3. Start the Hugo server:
5. Start the Hugo server:

hugo server

This starts a local server you can use to view the Linode library in your browser on `http://localhost:1313/docs/`.

4. In a web browser, navigate to the location of your new guide. The example nginx guide will be located at `http://localhost:1313/docs/web-servers/nginx/how-to-install-nginx-on-debian`.
6. In a web browser, navigate to the location of your new guide. The example nginx guide will be located at `http://localhost:1313/docs/web-servers/nginx/how-to-install-nginx-on-debian`.

## Run Tests

Expand Down
2 changes: 2 additions & 0 deletions ci/vale/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ pagent
pagespeed
pandoc
param
parameterizing
paramiko
parallelization
params
Expand Down Expand Up @@ -1273,6 +1274,7 @@ tcp
tcpwrappers
teamspeak
tensorflow
terrahelp
terraria
testdb
testfile
Expand Down
18 changes: 18 additions & 0 deletions ci/yaml_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"type": "list",
"description": "Other locations where this guide can be found. Should be an array of entries in the form /applications/big-data/using-big-data/"
},
"audiences": {
"elements": false,
"required": false,
"type": "list",
"description": "An array of audiences. Could be Foundational, Beginner, Intermediate, or Expert"
},
"author": {
"elements": [
"name",
Expand All @@ -20,6 +26,12 @@
"type": "text",
"description": "In a guide written for the current Linode Manager, if a new version of the guide exists written for the new Linode Manager, use this in the original guide to embed a link to the new guide. Must use alias-style relative links (e.g. platform/manager/dns-manager-cloud-manager/)."
},
"concentrations": {
"elements": false,
"required": false,
"type": "list",
"description": "A list of development section concentrations. Case sensitive, capitalize words where appropriate. Could be one of: 'Scripting, Automation, and Build Tools', 'Web Applications', 'Unit Testing', or 'Scientific Computing and Big Data'"
},
"h1_title": {
"elements": false,
"required": false,
Expand Down Expand Up @@ -100,6 +112,12 @@
"type": "text",
"description": "If a layout other than the default is needed (i.e. for the Contribute page), specify the name of the layout here."
},
"languages": {
"elements": false,
"required": false,
"type": "list",
"description": "An array of programming languages that apply to the guide. Could be JavaScript, Go, Python, etc."
},
"license": {
"elements": false,
"required": true,
Expand Down
9 changes: 6 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ pygmentsStyle = "perldoc"

disqusShortname="linode-1"

disableKinds = ["taxonomy", "taxonomyTerm"]
#disableKinds = ["taxonomy", "taxonomyTerm"]

rssLimit = 15


[blackfriday]
fractions = false

Expand All @@ -33,7 +34,9 @@ section = ["HTML"]
page = ["HTML"]

[taxonomies]
category = "categories"
audience = "audiences"
concentration = "concentrations"
language = "languages"

[params]
description = "Guides and tutorials on the Linode platform, Linux basics, and software installation and configuration."
Expand All @@ -50,7 +53,7 @@ time_format_default = "Monday, January 2, 2006"
# threshold = 80
# includeNewer = true
# toLower = false
#
#
# [[related.indices]]
# name = "keywords"
# weight = 100
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: "Nextcloud is an open source solution to hosting your own content o
keywords: ["nextcloud", "cloud", "open source hosting"]
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
published: 2017-12-15
modified: 2017-12-15
modified: 2018-12-18
modified_by:
name: Linode
title: 'Store and Share your Files with Nextcloud on Centos 7'
Expand All @@ -19,6 +19,8 @@ external_resources:
- '[Enabling SSL](https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html#enabling-ssl)'
---

![Store and Share your Files with Nextcloud on CentOS](Store_and_Share_your_Files_with_Nextcloud_on_Centos_smg.png "Store and Share your Files with Nextcloud on CentOS")

## Before You Begin

1. Familiarize yourself with our [Getting Started](/docs/getting-started/) guide and complete the steps for setting your Linode's hostname and timezone.
Expand Down
Loading

0 comments on commit e24b857

Please sign in to comment.