-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move images so they are included in the page. Add script for docs preview. Website styleing. Include LICENSE.
- Loading branch information
1 parent
4480137
commit ab3cb90
Showing
11 changed files
with
147 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: add-webpage | ||
|
||
name: Quarto Publish | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Copy Quarto file. | ||
run: cp docs/_quarto.yml . | ||
|
||
- name: Copy styles | ||
run: cp docs/styles.css . | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
|
||
- name: Render and Publish | ||
uses: quarto-dev/quarto-actions/publish@v2 | ||
with: | ||
target: gh-pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,8 @@ | |
.Ruserdata | ||
.DS_Store | ||
.Renviron | ||
|
||
/.quarto/ | ||
/_site/ | ||
_quarto.yml | ||
styles.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,7 @@ | |
.Renviron | ||
.rhino | ||
.rscignore | ||
build_local_docs.sh | ||
docs | ||
img | ||
tests |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/bash | ||
|
||
# This script is used to build the local documentation for the project. | ||
|
||
remove_files() { | ||
if [ -f _quarto.yml ]; then | ||
echo "Removing _quarto.yml..." | ||
rm _quarto.yml | ||
fi | ||
|
||
if [ -f styles.css ]; then | ||
echo "Removing styles.css..." | ||
rm styles.css | ||
fi | ||
} | ||
|
||
cleanup() { | ||
echo "Cleaning up..." | ||
remove_files | ||
exit 1 | ||
} | ||
|
||
trap cleanup SIGINT | ||
|
||
if [ "$1" = "preview" ]; then | ||
echo "Copying _quarto.yml..." | ||
cp docs/_quarto.yml _quarto.yml | ||
echo "Copying styles.css..." | ||
cp docs/styles.css styles.css | ||
|
||
echo "Building local documentation preview..." | ||
quarto preview | ||
elif [ "$1" = "render" ]; then | ||
echo "Copying _quarto.yml..." | ||
cp docs/_quarto.yml _quarto.yml | ||
echo "Copying styles.css..." | ||
cp docs/styles.css styles.css | ||
|
||
echo "Rendering local documentation..." | ||
quarto render | ||
remove_files | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.quarto/ | ||
/_site/ | ||
README.md | ||
/img/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
project: | ||
type: website | ||
render: | ||
- README.md | ||
- LICENSE.md | ||
|
||
website: | ||
title: "LogAnalyzer" | ||
page-footer: "By Appsilon with 💙 | Copyright 2024 ©" | ||
repo-url: https://github.com/Appsilon/LogAnalyzer | ||
google-analytics: "G-FQQZL5V93G" | ||
navbar: | ||
background: "#0099F9" | ||
foreground: "#fff" | ||
logo: "https://avatars0.githubusercontent.com/u/6096772" | ||
left: | ||
- text: Home | ||
icon: house | ||
href: README.md | ||
- text: License | ||
icon: key | ||
href: LICENSE.md | ||
right: | ||
- text: GitHub | ||
icon: github | ||
href: https://github.com/Appsilon/LogAnalyzer | ||
- text: Appsilon | ||
href: https://appsilon.com/ | ||
|
||
format: | ||
html: | ||
theme: cosmo | ||
css: styles.css | ||
toc: true | ||
|
||
execute: | ||
freeze: auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.navbar-nav > .nav-item > .nav-link.active { | ||
color: #fff !important; | ||
font-weight: bold; | ||
} | ||
|
||
.navbar-nav > .nav-item > a.nav-link:hover { | ||
color: #c2c2c2 !important; | ||
} | ||
|
||
.navbar a.navbar-brand:hover { | ||
color: #c2c2c2 !important; | ||
} | ||
|
||
#footer-banner { | ||
max-width: 796px; | ||
} | ||
|
||
.navbar-logo { | ||
height: auto; | ||
width: 4rem; | ||
max-height: max-content; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.