Skip to content

Commit

Permalink
Merge branch 'main' into ellen/update-first-deployment-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-fenton-octopus authored Jan 9, 2025
2 parents a3e22f9 + 1973cc5 commit 4f1a5d4
Show file tree
Hide file tree
Showing 258 changed files with 3,102 additions and 2,768 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
packages: ${{ steps.package.outputs.package_file_path }}

- name: Let people download package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ ! env.SHOULD_DEPLOY }}
with:
name: docs-microsite
Expand Down
4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
"astro-build.astro-vscode",
"esbenp.prettier-vscode",
"yzhang.markdown-all-in-one",
"docsmsft.docs-markdown",
"ms-playwright.playwright",
"streetsidesoftware.code-spell-checker",
"unifiedjs.vscode-mdx"
"unifiedjs.vscode-mdx",
"DavidAnson.vscode-markdownlint"
],
"unwantedRecommendations": []
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@
},
"[markdown]": {
},
"markdownlint.run": "onSave",
"markdownlint.config": {
"emphasis": { "style": "asterisk" },
"no-inline-html": false,
"ul-style": { "style": "dash" }
},
}
42 changes: 23 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# Octopus docs

This repository contains the documentation for [Octopus Deploy](https://octopus.com/docs).

Contributions to help improve this documentation are welcome, however, you must sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/OctopusDeploy/docs) before we can accept your contribution.

See the [Octopus style guide](https://www.octopus.design/932c0f1a9/p/26f741-writing) for information including:

* [Markdown quick reference](https://www.octopus.design/932c0f1a9/p/074e30-markdown-reference)
* [Capitalization](https://www.octopus.design/932c0f1a9/p/457bc4-grammar-rules/t/03e016)
* [Working with images](https://www.octopus.design/932c0f1a9/p/5061d7-working-with-images)
- [Markdown quick reference](https://www.octopus.design/932c0f1a9/p/074e30-markdown-reference)
- [Capitalization](https://www.octopus.design/932c0f1a9/p/457bc4-grammar-rules/t/03e016)
- [Working with images](https://www.octopus.design/932c0f1a9/p/5061d7-working-with-images)

## How to contribute a change to the docs

* The `main` branch has the latest version of the docs
* Fork this repo and create a branch for your changes
* Make the changes you'd like to contribute
* Submit a pull request (PR) to master with your changes and include a comment explaining the changes
* Sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/OctopusDeploy/docs)
* We'll review your PR and accept it or suggest changes
- The `main` branch has the latest version of the docs
- Fork this repo and create a branch for your changes
- Make the changes you'd like to contribute
- Submit a pull request (PR) to master with your changes and include a comment explaining the changes
- Sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/OctopusDeploy/docs)
- We'll review your PR and accept it or suggest changes

### Default values

Expand All @@ -39,7 +41,7 @@ When you raise a pull request, the following checks will take place:

You can run the tests locally using:

```
```bash
pnpm test
```

Expand All @@ -52,7 +54,7 @@ The most common failures are:

You can run the spell check locally using:

```
```bash
pnpm spellcheck
```

Expand Down Expand Up @@ -103,13 +105,13 @@ You can use the Front Matter dashboard to find content, media, and snippets - or

The pages are in the exact page shown on the website, so you can easily translate them. For example:

```
```bash
https://octopus.com/docs/infrastructure/deployment-targets/tentacle
```

Can be found in the exact same path within `src/pages/`

```
```bash
\docs\src\pages\docs\infrastructure\deployment-targets\tentacle
```

Expand All @@ -123,17 +125,17 @@ No page should ever be deleted! When a page moves or is retired, it should be ch

The below shows the complete contents of a redirect page that sends users from:

```
```bash
/docs/administration/authentication/authentication-providers/azure-ad-authentication
```

To the new location:

```
```bash
/docs/security/authentication/azure-ad-authentication
```

```
```yaml
---
layout: src/layouts/Redirect.astro
title: Redirect
Expand Down Expand Up @@ -195,13 +197,15 @@ Within an MDX file, this looks like a code block and will error. Escape the stat
## Switching between spaces \{#switching-between-spaces}
```

MDX files don't allow short-form links, instead of using `<https://example.com>` use `[https://example.com](https://example.com)`, or even better - put in useful link text, like `[example website](https://example.com)`.

## Docs page layout guidelines

### Title icons

If you are updating a page in Docs which doesn't already have a title icon, please add one. Title icons can be added in the frontmatter for each page by adding a Font Awesome class in the `icon` entry:

```
```yaml
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
Expand All @@ -221,7 +225,7 @@ hideInThisSectionHeader: true

Product screenshots used in Docs should reflect the UI in the latest version of Octopus. The `figure` component will automatically add a curved border and outline to your image:

```
```markdown
:::figure
![](/docs/octopus-cloud/images/octopus-cloud-architecture-diagram.png)
:::
Expand All @@ -233,6 +237,6 @@ Images should be uploaded to the folder that relates to the position of the page

Do not use call out / info boxes in the main body of docs pages to reference how features worked in earlier versions of Octopus. This information should be moved to the bottom of docs pages under an 'Older versions' heading. For example, you might add a note like this under the 'Older versions' heading:

```
```markdown
In versions earlier than 2024.x, you'll find the page to add a feed under the Projects menu -> Tenant Variables
```
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"pnpm-lock.yaml",
"docs/credits.md",
".octopus/**",
".vscode/**",
".github/**",
"src/pages/report/**",
"public/docs/js/**",
Expand Down
6 changes: 6 additions & 0 deletions dictionary-octopus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ advfirewall
ALLUSERSPROFILE
anglin
Anglin
Antiforgery
apikey
apikeys
APPNAME
Expand Down Expand Up @@ -90,10 +91,12 @@ DESTKEY
DIND
Directorygroup
Distro
distros
Dockerfiles
dockerhub
Domainname
DONTVALIDATEPATH
DPAPI
dpkg
dryrun
Dspring
Expand All @@ -107,6 +110,7 @@ emptytitle
entra
environmentids
eprintfn
esac
expressjs
externalgroups
externalusers
Expand Down Expand Up @@ -392,6 +396,7 @@ SSPI
SSRS
statefulset
statefulsets
stepsprodpackages
sthumb
strconv
struct
Expand All @@ -417,6 +422,7 @@ tfvar
tfvars
TFVC
thepassword
timespan
tlsv1
tmpfs
Toolsets
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"watch": "onchange 'src/**/*.{js,mjs,ts,astro,css}' 'public/docs/js/**/*.js' 'public/docs/css/**/*.css' -- prettier --write --plugin=prettier-plugin-astro {{changed}}"
},
"dependencies": {
"@astrojs/mdx": "^2.3.1",
"@pnpm/exe": "^9.12.3",
"astro": "^4.16.10",
"astro-accelerator-utils": "^0.3.27",
"cspell": "^8.16.0",
"@astrojs/mdx": "^4.0.1",
"@pnpm/exe": "^9.15.0",
"astro": "^5.0.3",
"astro-accelerator-utils": "^0.3.32",
"cspell": "^8.16.1",
"glob": "^11.0.0",
"gray-matter": "^4.0.3",
"hast-util-from-selector": "^3.0.0",
"hast-util-from-selector": "^3.0.1",
"html-to-text": "^9.0.5",
"keyword-extractor": "^0.0.28",
"optional": "^0.1.4",
Expand All @@ -39,12 +39,12 @@
"sharp": "^0.33.5"
},
"devDependencies": {
"@playwright/test": "^1.48.2",
"csv-parse": "^5.5.6",
"@playwright/test": "^1.49.0",
"csv-parse": "^5.6.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.13.0"
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1"
},
"pnpm": {
"overrides": {
Expand Down
Loading

0 comments on commit 4f1a5d4

Please sign in to comment.