Skip to content

Commit a0107ea

Browse files
authored
Merge pull request #7 from sfadriaan/vale-setup
Vale setup
2 parents 14f4948 + d376712 commit a0107ea

Some content is hidden

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

43 files changed

+734
-18
lines changed

.github/workflows/lint.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: lint
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
vale:
8+
name: Style checker
9+
runs-on: ubuntu-22.04
10+
defaults:
11+
run:
12+
shell: bash
13+
working-directory: .
14+
steps:
15+
- name: Checkout repo to runner
16+
uses: actions/checkout@v4
17+
- name: Run Vale tests
18+
uses: errata-ai/vale-action@reviewdog
19+
with:
20+
version: 3.7.0
21+
files: '["how-to", "tutorials", "reference", "explanation"]'
22+
fail_on_error: true
23+
reporter: github-pr-review
24+
filter_mode: nofilter

.vale.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
StylesPath = styles
2+
MinAlertLevel = suggestion
3+
4+
[*.{md,rst}]
5+
BasedOnStyles = Google, Custom

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"makefile.configureOnOpen": false
3+
}

how-to/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
:hide-toc:
22

3-
How-To Guides
3+
How-to guides
44
=============
55

6-
The How-To section is broken up into different subsections to help you better navigate to where you want to be.
6+
The How-To section consists of different subsections to help you better navigate to where you want to be.
77

88
.. toctree::
99
:maxdepth: 1
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
Check OmniStudio Package Version
1+
Check OmniStudio package version
22
================================
33

4-
Updates to the OmniStudio Managed Package are released with the Salesforce release cycle i.e. Spring, Summer, and Winter.
5-
If OmniStudio is installed in your production environment, updates should happen automatically.
4+
Salesforce releases updates to the OmniStudio Managed Package during every release cycle i.e. Spring, Summer, and Winter.
5+
Updates to the Omnistudio Managed Package should happen automatically in your production org.
66

7-
In the event that you have a trail org that has an outdated version (or your production org has not updated automatically), you can manually update the managed package.
7+
In the event that you have a trail org that has an outdated version, or your production org hasn't updated automatically, you can manually update the managed package.
88

99
1. Check latest version by visiting the `OmniStudio Release page <https://help.salesforce.com/s/articleView?id=000394906&type=1>`_
10-
2. Check which version is installed in your org (production org or trail org)
10+
2. Check which version is in your org:
1111
a. Navigate to Setup
1212
b. Search ``Installed Packages``
1313
c. Search for Package Name ``Omnistudio``
1414
d. Check version number
1515

1616
.. figure:: /images/omnistudio-outdated-package-version.png
1717

18-
e. If the version is outdated, follow the instructions in the `OmniStudio Release page <https://help.salesforce.com/s/articleView?id=000394906&type=1>`_ to install the latest version.
18+
e. For outdated versions, follow the instructions in the `OmniStudio Release page <https://help.salesforce.com/s/articleView?id=000394906&type=1>`_ to install the latest version.
1919
f. After the updates/installation has completed, verify that the Installed Package version is correct.
2020

2121
.. figure:: /images/omnistudio-latest-package-version.png
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
Getting an OmniStudio Enabled Org
1+
Getting an OmniStudio enabled org
22
=================================
33

4-
It is important to ensure you have an up to date Omnistudio environment to develop in.
5-
Depending on your situation you will:
4+
It's important to ensure you have an up to date Omnistudio environment to develop in.
5+
Depending on your situation you:
66

7-
* have access to a sandbox that is created from a production org that has Omnistudio installed,
7+
* have access to a sandbox that's created from a production org that has Omnistudio installed,
88
* have the ability to create a scratch org that has Omnistudio enabled,
99
* not have access to a production org that has Omnistudio installed.
1010

1111
There are multiple options where you can sign up for a free trial org that has Omnistudio installed:
1212

13-
1. `Financial Services Cloud <https://developer.salesforce.com/free-trials/comparison/financial-services-cloud>`_ (*recommended*)
13+
1. `Financial Services Cloud <https://developer.salesforce.com/free-trials/comparison/financial-services-cloud>`_ *recommended*
1414
* Always have an up to date Omnistudio installed at the time of sign up.
15-
* Two options are available (Learning org vs Base org)
15+
* Two options are available
16+
* Base org
17+
* Learning org
1618
2. `Industries Training Playground <https://vlocitytrial-prod.herokuapp.com/?templateid=SFI_IPQ>`_
1719
* Has Vlocity Omnistudio installed.
1820
3. `Approval Process for Public Sector Solutions Org <https://trailhead.salesforce.com/promo/orgs/approval-process-for-public-sector-solutions>`_
1921
* Outdated Omnistudio version installed
2022

21-
These orgs are valid for 30 days (most of the times).
22-
You will have to sign up for another org when your trial period ends to continue your development.
23+
These orgs are valid for 30 days.
24+
Sign up for another org when your trial period ends to continue your development.

how-to/omnistudio/omnistudio-getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Getting Started
1+
Getting started
22
===============
33

44
.. toctree::

how-to/omnistudio/omnistudio-index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OmniStudio
22
==========
33

4-
Getting Started
4+
Getting started
55
---------------
66

77
Get your development environment set up with the latest version of OmniStudio.

styles/Custom/Spelling.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extends: spelling
2+
message: "Did you really mean '%s'?"
3+
level: error
4+
ignore:
5+
# Located at StylesPath/ignore.txt
6+
- ignore.txt

styles/Google/AMPM.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extends: existence
2+
message: "Use 'AM' or 'PM' (preceded by a space)."
3+
link: 'https://developers.google.com/style/word-list'
4+
level: error
5+
nonword: true
6+
tokens:
7+
- '\d{1,2}[AP]M'
8+
- '\d{1,2} ?[ap]m'
9+
- '\d{1,2} ?[aApP]\.[mM]\.'

0 commit comments

Comments
 (0)