Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Convert Starknet Book to Mdbook version (#200)
Browse files Browse the repository at this point in the history
* 🎉 move to mdbook

* 📝 add content to introduction

* 📝 improving conclusion

* 📝 added first content on foundry

* 📝 simplify gitignore

* 🔥 eliminate previous foundry files

* 📝 make STARKs chapter a draft and change places in foundry chps

* 🔥 eliminate not required workflows

* 📝 improve introduction to sn

* 🔥 elimante chapter 5 adoc files
  • Loading branch information
omarespejel authored Oct 9, 2023
1 parent f4a3442 commit 03ad4b4
Show file tree
Hide file tree
Showing 272 changed files with 9,002 additions and 19,525 deletions.
Binary file added .DS_Store
Binary file not shown.
32 changes: 0 additions & 32 deletions .github/workflows/algolia-indexing.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Deploy
on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install latest mdbook
run: |
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Build Book
run: |
mdbook build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

- name: scp upload to production site
run: sshpass -p ${{ secrets.PROD_PASS }} scp -o 'StrictHostKeyChecking no' -r book/ ${{ secrets.PROD_USER }}@${{ secrets.PROD_IP }}:~/
89 changes: 0 additions & 89 deletions .github/workflows/pull_request.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/push.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/tag.yml

This file was deleted.

26 changes: 6 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
*.txt
node_modules/
cache/
.idea/
artifacts/
starknet-artifacts/
.pytest_cache/
build/
tmp/
package-lock.json
**/*compiled.json
**/*abi.json
**/*.bin
*.DS_STORE*
**/*.txt
public_html/
target/
tmp*
book
target
output

**/*.sum
# Editors tmp files.
*~
.idea/

*/**/__pycache__
1 change: 0 additions & 1 deletion .vscode/settings.json

This file was deleted.

4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.2.131](https://github.com/starknet-edu/starknetbook/compare/v1.2.130...v1.2.131) (2023-10-09)

### [1.2.130](https://github.com/starknet-edu/starknetbook/compare/v1.2.129...v1.2.130) (2023-10-02)

### [1.2.129](https://github.com/starknet-edu/starknetbook/compare/v1.2.128...v1.2.129) (2023-09-25)

### [1.2.128](https://github.com/starknet-edu/starknetbook/compare/v1.2.127...v1.2.128) (2023-09-18)
Expand Down
Loading

0 comments on commit 03ad4b4

Please sign in to comment.