-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* port to quarto * add cron and remove pkgdown ga * remove link to css file * reuse mit license * quarto freeze * revert to md * add preview note * small e * temp fix - add logo * start faq and include developer info
- Loading branch information
Showing
17 changed files
with
396 additions
and
430 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ |
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
schedule: | ||
- cron: '0 0 * * 5' # Every Friday at midnight UTC | ||
|
||
name: Quarto Publish | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- 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 |
---|---|---|
@@ -1,2 +1,16 @@ | ||
docs | ||
*~ | ||
.Rproj.user | ||
*.Rproj | ||
|
||
/.quarto/ | ||
/_site/ | ||
# rust specific .gitignore | ||
target/ | ||
debug/ | ||
Cargo.lock | ||
**/*.rs.bk | ||
*.pdb | ||
# r specific | ||
.Rproj.user/ | ||
*.Rproj |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,21 +1,5 @@ | ||
# extendr.github.io | ||
|
||
This repository contains a dummy R project which allows us to | ||
build a website for Extendr using `pkgdown`. | ||
Repository for the **extendr** website built using [Quarto](https://quarto.org/). | ||
|
||
To build the site locally: | ||
|
||
```r | ||
remotes::install_github("r-lib/pkgdown") | ||
devtools::install() | ||
pkgdown::build_site() | ||
``` | ||
|
||
There is a github action that builds the site and deploys to | ||
the `gh-pages` branch when pushing to `main`. | ||
|
||
On linux, you will also need: | ||
|
||
```shell | ||
sudo apt install fontconfig libfreetype2-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev pandoc | ||
``` | ||
Website can be previewed using `quarto preview`. |
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
project: | ||
type: website | ||
|
||
execute: | ||
freeze: true | ||
|
||
website: | ||
title: "extendr" | ||
navbar: | ||
left: | ||
- text: "Getting started" | ||
href: started.qmd | ||
- text: Contributing | ||
href: CONTRIBUTING.md | ||
- text: "News" | ||
href: CHANGELOG.md | ||
- text: "API Docs" | ||
href: https://extendr.github.io/extendr/extendr_api/ | ||
- text: "FAQ" | ||
href: faq.qmd | ||
right: | ||
- icon: github | ||
href: https://github.com/extendr/extendr | ||
- icon: discord | ||
href: https://discord.gg/7hmApuc | ||
|
||
format: | ||
html: | ||
theme: | ||
light: flatly | ||
dark: darkly | ||
toc: false |
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,21 @@ | ||
|
||
#TOC ul { | ||
padding-left: 1rem; | ||
} | ||
|
||
#TOC ul li { | ||
padding-bottom: 0.5rem; | ||
} | ||
|
||
#TOC ul li a { | ||
text-decoration: none; | ||
} | ||
|
||
#toc-title, | ||
.toc-actions { | ||
display: none; | ||
} | ||
|
||
.comparison ul { | ||
padding-left: 1.1em; | ||
} |
Oops, something went wrong.