Skip to content

Commit

Permalink
docs(pages): Improve GithHub Pages (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion authored Jan 26, 2023
1 parent c234057 commit ad000de
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 23 deletions.
27 changes: 15 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,30 @@ commands:
nodejs:
description: The NodeJS version to install
type: string
default: ""

steps:
- checkout:
path: ~/repos/rxjs-axios

- run:
name: Install NVM
name: Install NVM and NodeJS
command: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --install' >> $BASH_ENV
source $BASH_ENV
- run:
name: Install NodeJS v<< parameters.nodejs >>
command: |
nvm install << parameters.nodejs >>
nvm use << parameters.nodejs >>
nvm alias default << parameters.nodejs >>
node --version
- when:
condition: << parameters.nodejs >>
steps:
- run:
name: Install NodeJS v<< parameters.nodejs >>
command: |
nvm install << parameters.nodejs >>
nvm use << parameters.nodejs >>
nvm alias default << parameters.nodejs >>
node --version
- run:
name: Install yarn
Expand Down Expand Up @@ -94,8 +98,7 @@ jobs:
executor: basic

steps:
- bootstrap:
nodejs: "19.0.1"
- bootstrap

- run:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/owner-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v2.2.1
- uses: hmarr/auto-approve-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
19.5.0
54 changes: 45 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,53 @@
remote_theme: mmistakes/minimal-mistakes

minimal_mistakes_skin: air
---

atom_feed:
hide: true
remote_theme: mmistakes/minimal-mistakes

repository: JoseLion/rxjs-axios
plugins:
- jekyll-include-cache
- jekyll-github-metadata

defaults:
- scope:
path: ""
type: pages
values:
layout: splash
author_profile: true
classes: wide
layout: single

plugins:
- jekyll-include-cache
minimal_mistakes_skin: air
title: RxJS Axios
subtitle: A complete Axios wrapper that uses RxJS observables instead of promises
name: Jose Luis Leon
repository: JoseLion/rxjs-axios
atom_feed:
hide: true
twitter:
username: joseliont
author:
name: Jose Luis Leon
avatar: https://github.com/JoseLion.png
email: [email protected]
links:
- label: Repository
icon: fab fa-fw fa-github
url: https://github.com/JoseLion/rxjs-axios
- label: GitHub
icon: fab fa-fw fa-github-alt
url: https://github.com/JoseLion
- label: Twitter
icon: fab fa-fw fa-twitter-square
url: https://twitter.com/joseliont
footer:
links:
- label: Repository
icon: fab fa-fw fa-github
url: https://github.com/JoseLion/rxjs-axios
- label: GitHub
icon: fab fa-fw fa-github-alt
url: https://github.com/JoseLion
- label: Twitter
icon: fab fa-fw fa-twitter-square
url: https://twitter.com/joseliont

...

0 comments on commit ad000de

Please sign in to comment.