Skip to content

Commit 89bebf0

Browse files
authored
Merge branch 'main' into 5476-api-documentation-not-matching-documentation-on-some-items
2 parents 82faea5 + 4bfbc18 commit 89bebf0

File tree

4,110 files changed

+22841
-8823
lines changed

Some content is hidden

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

4,110 files changed

+22841
-8823
lines changed

.clabot

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,14 @@
184184
"dlindelof-sumologic",
185185
"snyk-bot",
186186
"stephenthedev",
187-
"Apoorvkudesia-sumologic"
187+
"Apoorvkudesia-sumologic",
188+
"ntanwar-sumo",
189+
"aj-sumo",
190+
"samiura",
191+
"naveenrama",
192+
"fguimond",
193+
"rmeyer-legato",
194+
"jagan2221"
188195
],
189196
"message": "Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement and do not have yours on file. To proceed with your PR, please [sign your name here](https://forms.gle/YgLddrckeJaCdZYA6) and we will add you to our approved list of contributors.",
190197
"label": "cla-signed",
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: deploy-to-pantheon
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-deploy-to-pantheon:
13+
runs-on: ubuntu-latest
14+
environment:
15+
name: production
16+
url: https://www.sumologic.com/
17+
env:
18+
CI: true
19+
NODE_ENV: production
20+
NODE_OPTIONS: "--max-old-space-size=8192 --max-http-header-size=8192"
21+
HOSTNAME: https://www.sumologic.com
22+
BASE_URL: /help/
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
- name: Install SSH key
28+
uses: shimataro/ssh-key-action@v2
29+
with:
30+
key: ${{ secrets.PANTHEON_SSH_KEY }}
31+
config: |
32+
Host *.drush.in
33+
StrictHostKeyChecking no
34+
known_hosts: ${{ secrets.PANTHEON_KNOWN_HOSTS }}
35+
- name: Setup PHP
36+
uses: shivammathur/setup-php@v2
37+
with:
38+
php-version: "8.2"
39+
- name: Install Terminus
40+
uses: pantheon-systems/terminus-github-actions@v1
41+
with:
42+
pantheon-machine-token: ${{ secrets.PANTHEON_MACHINE_TOKEN }}
43+
- name: Set up Node.js
44+
uses: actions/setup-node@v3
45+
with:
46+
node-version: '20.x'
47+
cache: 'yarn'
48+
- name: Docusaurus Webpack cache
49+
uses: actions/cache@v3
50+
with:
51+
path: node_modules/.cache
52+
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
53+
- name: Install dependencies
54+
run: yarn install --frozen-lockfile
55+
- name: Build the Docusaurus site
56+
run: yarn build
57+
- name: Pantheon, check environment and deploy helpdocs
58+
run: |
59+
# Check for helpdocs environment in Pantheon, create one if not found
60+
PANTHEON_ENV_LIST="$(terminus env:list "${{ vars.PANTHEON_SITE_ID }}" --format=list | xargs)"
61+
DEV_SITE_EXISTS="$(echo "$PANTHEON_ENV_LIST" | grep "helpdocs" | wc -l | xargs)"
62+
if [ "$DEV_SITE_EXISTS" -eq "0" ]; then
63+
terminus multidev:create --no-interaction --no-ansi ${{ vars.PANTHEON_SITE_ID }}.dev helpdocs
64+
terminus lock:enable ${{ vars.PANTHEON_SITE_ID }}.helpdocs -- "${{ secrets.PANTHEON_AUTH_USER }}" "${{ secrets.PANTHEON_AUTH_PASSWORD }}"
65+
fi
66+
# Put environment in SFTP mode, because we're using rsync to move files up
67+
terminus connection:set ${{ vars.PANTHEON_SITE_ID }}.helpdocs sftp
68+
terminus self:plugin:install terminus-rsync-plugin
69+
mv ./build ./help
70+
terminus rsync ./help ${{ vars.PANTHEON_SITE_ID }}.helpdocs:code
71+
terminus env:commit --message "Production build of helpdocs" --force -- ${{ vars.PANTHEON_SITE_ID }}.helpdocs

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
name: Check spelling
4545
with:
4646
skip: "*.svg,*.js,*.map,*.css,*.scss"
47-
ignore_words_list: "aks,atleast,cros,ddress,fiel,ist,nd,ot,pullrequest,ser,shttp,wast,fo,seldomly,delt,cruzer,plack,secur,te,nginx,Nginx,notin"
47+
ignore_words_list: "aks,atleast,cros,ddress,delink,fiel,ist,nd,ot,pullrequest,ser,shttp,wast,fo,seldomly,delt,cruzer,plack,secur,te,nginx,Nginx,notin"
4848
path: docs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="https://help.sumologic.com/img/sumo-docs-readme.png" width="400"/>
1+
<img src="https://help.sumologic.com/img/reuse/sumo-docs-readme.png" width="400"/>
22

33
<p>
44
<a href="https://github.com/SumoLogic/sumologic-documentation/blob/main/.github/workflows/production.yml"><img src="https://github.com/SumoLogic/sumologic-documentation/actions/workflows/production.yml/badge.svg" alt="GitHub Actions status"></a>

blog-collector/2021/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2021 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2022/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2022 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2023/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2023 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2024/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2024 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2025-01-08-otel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Remote Management for OpenTelemetry Collector (OpenTelemetry Collector)
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
44
keywords:
55
- collection
66
- opentelemetry

blog-collector/2025-02-18-installed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Version 19.525-1 (Installed Collector)
33
hide_table_of_contents: true
4-
image: https://help.sumologic.com/img/sumo-square.png
4+
image: https://assets-www.sumologic.com/company-logos/_800x418_crop_center-center_82_none/SumoLogic_Preview_600x600.jpg?mtime=1617040082
55
---
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';

0 commit comments

Comments
 (0)