mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
oneline the sed command to add a proper title for the typedocs
This commit is contained in:
parent
609aa80bd9
commit
16c782ee52
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -44,11 +44,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
yarn typedocs-extensions-api
|
yarn typedocs-extensions-api
|
||||||
|
for filename in docs/extensions/api/**/*.md; do [ -e "$filename" ] || continue; sed -i '1s/^/---\ntitle: API Reference\n---\n/' $filename; done
|
||||||
|
|
||||||
for filename in api/**/*.md; do
|
|
||||||
[ -e "$filename" ] || continue
|
|
||||||
sed -i '' '1s/^/---\ntitle: API Reference\n---\n/' $filename
|
|
||||||
done
|
|
||||||
|
|
||||||
# - name: mkdocs deploy latest
|
# - name: mkdocs deploy latest
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user