Skip to content

Commit

Permalink
Bring back developers.diem.com folder and associated CI
Browse files Browse the repository at this point in the history
This reverts commit 407d364.

Closes: aptos-labs#8762
  • Loading branch information
CapCap authored and bors-libra committed Sep 1, 2021
1 parent 0de7899 commit cd62c08
Show file tree
Hide file tree
Showing 864 changed files with 52,096 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The project is undergoing daily changes. Pull Requests will be reviewed and resp

## Related PRs

(If this PR adds or changes functionality, please take some time to update or suggest changes to the docs at https://developers.diem.com, and link to your PR here.)
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)

## If targeting a release branch, please fill the below out as well

Expand Down
36 changes: 35 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
name: find website changes.
uses: diem/actions/matches@faadd16607b77dfa2231a8f366883e01717b3225
with:
pattern: "^documentation|^developers.diem.com"
pattern: '^documentation\|^developers.diem.com\|^.github'
- id: test-coverage
name: check if we should see if code coverage still works.
uses: diem/actions/matches@faadd16607b77dfa2231a8f366883e01717b3225
Expand Down Expand Up @@ -955,3 +955,37 @@ jobs:
retention-days: 5
path: |
/tmp/benches
developers-site:
name: run-developer-site-build
runs-on: ubuntu-latest
if: ${{ needs.prepare.outputs.test-website-build == 'true' }}
steps:
# Checks-out the Diem website repository under $GITHUB_WORKSPACE, so job can access it
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/[email protected]
# Installs node and yarn
- name: Use Node.js 12
uses: actions/[email protected]
with:
node-version: '14'
# Install git
- name: Install git
run: |
sudo apt --assume-yes update
sudo apt --assume-yes install git
# Install Python 3.8
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
# Test that building the site is successful
- name: Build Site
run: |
cd developers.diem.com
# Only build the straight Docusaurus site now. Do not build rust `-r`
# or python docs `-p` on CI checks until we resolve the best way to
# build them for deployment
./scripts/build_docs.sh -b
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# .gitignore file locally for IDE/Emacs/Vim generated files.
**/target
**/*.rs.bk
/.idea
.idea/

# Ignore wallet mnemonic files used for deterministic key derivation
*.mnemonic
Expand Down
1 change: 1 addition & 0 deletions developers.diem.com/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.md -whitespace
25 changes: 25 additions & 0 deletions developers.diem.com/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# OSX
*.DS_Store
venv

# Installation
yarn-error.log
package-lock.json

# Unit test / coverage reports

# Docusaurus
build/
i18n/
node_modules/

# Generated files
.docusaurus/
.cache-loader
.vercel
.idea/

# ignore autogenerated docs
diem
static/docs/rustdocs/
static/docs/python-client-sdk-docs/
19 changes: 19 additions & 0 deletions developers.diem.com/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Thank you to the people who contributed to and improved this website:
- Archana Jayaswal
- Avery Ching
- Ben Maurer
- Brandon Williams
- Brian Johnson
- David Wolinsky
- Eric Nakagawa
- George Cabrera
- jareknowotka
- Joel Marcey
- Kevin Hurley
- nimishamw
- oriooctopus
- Rain
- Sam Blackshear
- Tim Zakian
- Ville Sundell
- Max Kaplan (CapCap)
1 change: 1 addition & 0 deletions developers.diem.com/COPYRIGHT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COPYRIGHT.txt
Loading

0 comments on commit cd62c08

Please sign in to comment.