Skip to content

Commit b4f00b4

Browse files
committed
Upgrade to latest theme version and enable local search
1 parent a141350 commit b4f00b4

File tree

12 files changed

+2600
-3299
lines changed

12 files changed

+2600
-3299
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Adobe Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language.
18+
* Being respectful of differing viewpoints and experiences.
19+
* Gracefully accepting constructive criticism.
20+
* Focusing on what is best for the community.
21+
* Showing empathy towards other community members.
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances.
27+
* Trolling, insulting/derogatory comments, and personal or political attacks.
28+
* Public or private harassment.
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission.
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting.
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [https://contributor-covenant.org/version/1/4][version].
72+
73+
[homepage]: https://contributor-covenant.org
74+
[version]: https://contributor-covenant.org/version/1/4/

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The following are a set of guidelines to follow when contributing to this projec
66

77
## Code Of Conduct
88

9-
This project adheres to the Adobe [code of conduct](../CODE_OF_CONDUCT.md). By participating,
9+
This project adheres to the Adobe [code of conduct](CODE_OF_CONDUCT.md). By participating,
1010
you are expected to uphold this code. Please report unacceptable behavior to
1111
1212

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,45 @@
1-
## Purpose of this pull request
1+
<!--- Provide a general summary of your changes in the Title above -->
2+
3+
## Description
24

35
<!--- Describe your changes in detail -->
46

5-
This pull request (PR) ...
7+
## Related Issue
8+
9+
<!--- This project only accepts pull requests related to open issues -->
10+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
11+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
12+
<!--- Please link to the issue here: -->
13+
14+
## Motivation and Context
615

7-
## Affected pages
16+
<!--- Why is this change required? What problem does it solve? -->
817

9-
<!-- REQUIRED List the pages/URLs on the [Adobe devsite](https://developer.adobe.com/. Not needed for large numbers of files. -->
18+
## How Has This Been Tested?
1019

11-
- ...
20+
<!--- Please describe in detail how you tested your changes. -->
21+
<!--- Include details of your testing environment, and the tests you ran to -->
22+
<!--- see how your change affects other areas of the code, etc. -->
1223

13-
## Links to related PRs or Jira tickets
24+
## Screenshots (if appropriate):
1425

15-
<!-- OPTIONAL - REMOVE THIS SECTION IF NOT USED. Add links to PRs/tickets that required documentation updates -->
26+
## Types of changes
1627

17-
- ...
28+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
1829

19-
<!--
20-
If you are fixing a GitHub issue, note it using GitHub keyword format (https://help.github.com/en/articles/closing-issues-using-keywords#closing-an-issue-in-a-different-repository) to close the issue when this pull request is merged. Example: `Fixes #1234`
21-
`beta` is the default branch. Merged pull requests to `main` go live on the site automatically.
22-
See Contribution guidelines (https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md) for more information.
23-
-->
30+
- [ ] Bug fix (non-breaking change which fixes an issue)
31+
- [ ] New feature (non-breaking change which adds functionality)
32+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
2433

2534
## Checklist:
2635

2736
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
37+
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
2838

2939
- [ ] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
30-
- [ ] My changes follow the code style of this project.
40+
- [ ] My code follows the code style of this project.
41+
- [ ] My change requires a change to the documentation.
42+
- [ ] I have updated the documentation accordingly.
3143
- [ ] I have read the **CONTRIBUTING** document.
44+
- [ ] I have added tests to cover my changes.
3245
- [ ] All new and existing tests passed.

.github/workflows/github-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: Github Pages
3-
on: workflow_dispatch
3+
on:
4+
push:
5+
branches: [main]
46
jobs:
57
build-and-deploy:
68
runs-on: ubuntu-latest

.github/workflows/test-pull-request.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ jobs:
8585
with:
8686
cmd: install
8787

88-
- name: Check internal links
89-
run: yarn test:links
90-
9188
- name: Build site
9289
if: ${{ success() }}
9390
uses: borales/actions-yarn@v3

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ lerna-debug.log
4040
.actrc
4141
.secrets
4242
local-test.yml
43+
44+
# yalc
45+
.yalc
46+
yalc.lock

.yarn/releases/yarn-3.2.1.cjs

Lines changed: 0 additions & 786 deletions
This file was deleted.

.yarn/releases/yarn-3.2.2.cjs

Lines changed: 783 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
nodeLinker: node-modules
3-
yarnPath: .yarn/releases/yarn-3.2.1.cjs
3+
yarnPath: .yarn/releases/yarn-3.2.2.cjs

gatsby-ssr.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2021 Adobe. All rights reserved.
3+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
4+
* you may not use this file except in compliance with the License. You may obtain a copy
5+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under
8+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9+
* OF ANY KIND, either express or implied. See the License for the specific language
10+
* governing permissions and limitations under the License.
11+
*/
12+
13+
import React from 'react';
14+
import {withPrefix} from 'gatsby';
15+
16+
export const onRenderBody = ({setHeadComponents}) => {
17+
setHeadComponents([
18+
<script src={withPrefix('/redirections.js')}></script>
19+
]);
20+
};

0 commit comments

Comments
 (0)