Skip to content

Commit

Permalink
fixup! Move updated developer site to diem repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-libra committed Dec 13, 2020
1 parent 29b5206 commit 401773f
Show file tree
Hide file tree
Showing 1,050 changed files with 87,138 additions and 21,309 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/developer-site-ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Libra Developers Website CI
name: Diem Developers Website CI

on:
push:
branches: [ auto ]
# would have had
# paths: [ 'developers.libra.org/**' ]
# but want to build rustdocs on main Libra code changes outside of the website too
# paths: [ 'developers.diem.com/**' ]
# but want to build rustdocs on main Diem code changes outside of the website too
pull_request:
branches: [ master ]
# would have had
# paths: [ 'developers.libra.org/**' ]
# but want to build rustdocs on main Libra code changes outside of the website too
# paths: [ 'developers.diem.com/**' ]
# but want to build rustdocs on main Diem code changes outside of the website too


jobs:
test:
runs-on: ubuntu-latest

steps:
# Checks-out the Libra website repository under $GITHUB_WORKSPACE, so job can access it
# Checks-out the Diem website repository under $GITHUB_WORKSPACE, so job can access it
- uses: actions/checkout@v2
# Installs node and yarn
- name: Use Node.js 12
Expand All @@ -38,5 +38,8 @@ jobs:
# Test that building the site is successful
- name: Build Site
run: |
cd developers.libra.org
./scripts/build_docs.sh -b -r -p
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
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Libra Developers Website Build and Push
name: Diem Developers Website Build and Push

# Disabled for now as we are deploying via Netlify at the moment. Still using developer-site-ci.yml to do build testing.

on:
push:
branches: [ master ]
# would have had
# paths: [ 'developers.libra.org/**' ]
# but want to build rustdocs on main Libra code changes outside of the website too
# paths: [ 'developers.diem.com/**' ]
# but want to build rustdocs on main Diem code changes outside of the website too

jobs:
deploy:
if: github.repository == 'libra/libra'
if: github.repository == 'diem/diem'

runs-on: ubuntu-latest

steps:
# Checks-out the Libra website repository under $GITHUB_WORKSPACE, so job can access it
# Checks-out the Diem website repository under $GITHUB_WORKSPACE, so job can access it
- uses: actions/checkout@v2
# Installs node and yarn
- name: Use Node.js 12
Expand All @@ -41,9 +43,9 @@ jobs:
- name: Build rustdocs, website and deploy to GitHub Pages
run: |
git config --global user.email "[email protected]"
git config --global user.name "Libra Website Deployment Script"
git config --global user.name "Diem Website Deployment Script"
echo "machine github.com login libra-doc-bot password ${{ secrets.PUBLISH_AND_DEPLOY_TOKEN }}" > ~/.netrc
cd developers.libra.org
cd developers.diem.com
./scripts/build_docs.sh -b -r -p
cd website
GIT_USER=libra-doc-bot USE_SSH=false CUSTOM_COMMIT_MESSAGE="[skip ci] Deploy website" yarn run publish-gh-pages
File renamed without changes.
17 changes: 12 additions & 5 deletions developers.libra.org/.gitignore → developers.diem.com/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,24 @@
venv

# Installer logs
yarn-error.log

# Unit test / coverage reports

# Docusaurus
website/build/
website/i18n/
website/node_modules/
build/
i18n/
node_modules/

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

# ignore autogenerated docs
diem
docs/crates/*
docs/community/coding-guidelines.md
docs/community/contributing.md
website/static/docs/rustdocs/
website/static/docs/python-client-sdk-docs/
static/docs/rustdocs/
static/docs/python-client-sdk-docs/
File renamed without changes.
File renamed without changes.
File renamed without changes.
68 changes: 68 additions & 0 deletions developers.diem.com/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<a href="https://developers.diem.com">
<img width="200" src="./libra.png" alt="Diem Logo" />
</a>

<hr/>

[![CircleCI](https://circleci.com/gh/libra/libra.svg?style=shield)](https://circleci.com/gh/diem/diem)
[![License](https://img.shields.io/badge/license-Apache-green.svg)](LICENSE.md)

Diem Core implements a decentralized, programmable database which provides a financial infrastructure that can empower billions of people.

## Note to Developers
* Diem Core is a prototype.
* The APIs are constantly evolving and designed to demonstrate types of functionality. Expect substantial changes before the release.
* We've launched a testnet that is a live demonstration of an early prototype of the Diem Blockchain software.

## Contributing

Read our [Contributing guide](https://developers.diem.com/docs/community/contributing). Find out what's coming on our [blog](https://developers.diem.com/blog/2019/06/18/the-path-forward).

## Getting Started

### Learn About Diem
* [Welcome](https://developers.diem.com/docs/welcome-to-diem)
* [Diem Protocol: Key Concepts](https://developers.diem.com/docs/diem-protocol)
* [Life of a Transaction](https://developers.diem.com/docs/life-of-a-transaction)

### Try Diem Core
* [My First Transaction](https://developers.diem.com/docs/my-first-transaction)
* [Getting Started With Move](https://developers.diem.com/docs/move-overview)

### Technical Papers
* [The Diem Blockchain](https://developers.diem.com/docs/the-diem-blockchain-paper)
* [Move: A Language With Programmable Resources](https://developers.diem.com/docs/move-paper)
* [State Machine Replication in the Diem Blockchain](https://developers.diem.com/docs/state-machine-replication-paper)

### Blog
* [Diem: The Path Forward](https://developers.diem.com/blog/2019/06/18/the-path-forward/)

### Diem Codebase

* [Diem Core Overview](https://developers.diem.com/docs/diem-core-overview)
* [Admission Control](https://developers.diem.com/docs/crates/admission-control)
* [Bytecode Verifier](https://developers.diem.com/docs/crates/bytecode-verifier)
* [Consensus](https://developers.diem.com/docs/crates/consensus)
* [Crypto](https://developers.diem.com/docs/crates/crypto)
* [Execution](https://developers.diem.com/docs/crates/execution)
* [Mempool](https://developers.diem.com/docs/crates/mempool)
* [Move IR Compiler](https://developers.diem.com/docs/crates/ir-to-bytecode)
* [Move Language](https://developers.diem.com/docs/crates/move-language)
* [Network](https://developers.diem.com/docs/crates/network)
* [Storage](https://developers.diem.com/docs/crates/storage)
* [Virtual Machine](https://developers.diem.com/docs/crates/vm)


## Community

Join us on the [Diem Discourse](https://community.diem.com).

Get the latest updates to our project by signing up to our [newsletter](https://developers.diem.com/newsletter_form).

## License

Diem Core is licensed as [Apache 2.0](https://github.com/diem/diem/blob/master/LICENSE)

## Docs Directory

The [docs directory](./docs/) contains the source files for Diem's Docusaurus documentation. See the [website directory](./website/) [README](./website/README.md) for additional information.
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-06-18-the-path-forward.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: Diem - The Path Forward
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-08-14-libra-bug-bounty.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Michael Engle, Diem Association
title: Diem Bug Bounty Open to All
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Michael Engle, Diem Association
title: Diem Developer Spotlight
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-09-26-libra-bft-protocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Mathieu Baudet, Calibra
title: Improving the DiemBFT protocol
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-10-02-libra-developer-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Association
title: September Diem Developer Update - Roadmap #1
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-10-22-simplifying-payloads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Calibra Engineering
title: 'Simplifying Diem Transaction Payloads: Deprecation of the "Program" Type'
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Bison Trails
title: A Guide To Running Diem Validators
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Association
title: 'The Diem Consensus Protocol: Today and Next Steps'
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Michael Engle, Diem Association
title: 'Five months and growing strong: the Diem project'
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-12-10-about-the-cla-process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Eric Nakagawa, Calibra
title: 'How to contribute code to the Diem project: about the CLA process'
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2019-12-17-libra-core-roadmap-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: Diem Core Roadmap #2
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: How gas works on the Diem blockchain
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: Reconfiguration support is live on testnet
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Michael Engle, Diem Association
title: Steering committee now governs Diem technical development
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2020-01-23-full-node-basics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: 'Full node basics: an introduction to full nodes in the Diem network'
---

<BlogRedirect />
6 changes: 6 additions & 0 deletions developers.diem.com/blog/2020-02-28-libra-core-roadmap-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: Diem Core Roadmap #3
---

<BlogRedirect />
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
author: Diem Engineering Team
title: How to use the end-to-end tests framework in Move
---

<BlogRedirect />
3 changes: 3 additions & 0 deletions developers.diem.com/diem-cli/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Code of Conduct

The project has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://developers.diem.com/docs/policies/code-of-conduct) so that you can understand what actions will and will not be tolerated.
13 changes: 13 additions & 0 deletions developers.diem.com/diem-cli/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributing to this project

This project welcomes contributions.

## Contributor License Agreement (CLA)

For pull request to be accepted by any Diem projects, a CLA must be [signed](https://diem.com/en-US/cla-sign). You will only need to do this once to work on any of Diem's open source projects.

When submitting a pull request (PR), the `diem-github-bot` will check your submission for a valid CLA. If one is not found, then you will need to [submit](https://diem.com/en-US/cla-sign) an Individual CLA for yourself or a Corporate CLA for your company.

## Issues

This project uses GitHub Issues to track bugs. Please include necessary information and instructions to reproduce your issue.
Loading

0 comments on commit 401773f

Please sign in to comment.