Unverified Commit af7afd3b authored by Tachi's avatar Tachi

Install yarn with npm, fix dead links, remove note

parent 34b739ba
...@@ -7,7 +7,7 @@ on: ...@@ -7,7 +7,7 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
build-and-deploy: pistache.io-deploy:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
...@@ -15,9 +15,9 @@ jobs: ...@@ -15,9 +15,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update && sudo apt-get install yarnpkg npm --no-install-recommends --assume-yes -qq sudo apt-get update && sudo apt-get install -qq npm --no-install-recommends --assume-yes
sudo update-alternatives --install /usr/bin/yarn yarn /usr/bin/yarnpkg 10 sudo npm install --global --silent yarn
sudo npm install --global --silent npx sudo npm install --global --force --silent npx
- name: Build docs site - name: Build docs site
run: | run: |
...@@ -29,5 +29,5 @@ jobs: ...@@ -29,5 +29,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build publish_dir: ./pistache.io/build
cname: pistache.io cname: pistache.io
...@@ -48,12 +48,6 @@ void parse(const std::string& data); ...@@ -48,12 +48,6 @@ void parse(const std::string& data);
This function is used to parse the header from the string representation. Alternatively, to avoid allocating memory for the string representation, a _raw_ version can be used: This function is used to parse the header from the string representation. Alternatively, to avoid allocating memory for the string representation, a _raw_ version can be used:
:::note Note to the Pistache team
Why not to use a `std::string_view` instead?
:::
```cpp ```cpp
void parseRaw(const char* str, size_t len); void parseRaw(const char* str, size_t len);
``` ```
......
...@@ -62,10 +62,6 @@ module.exports = { ...@@ -62,10 +62,6 @@ module.exports = {
{ {
title: 'More', title: 'More',
items: [ items: [
{
label: 'Blog',
to: 'blog',
},
{ {
label: 'GitHub', label: 'GitHub',
href: 'https://github.com/pistacheio/pistache', href: 'https://github.com/pistacheio/pistache',
......
pistache.io
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment