-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from rstudio/ah/editing-pass
Editing pass - Phase 1
- Loading branch information
Showing
71 changed files
with
1,684 additions
and
698 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
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,38 @@ | ||
name: Quarto Publish to docs.posit.co | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure AWS credentials | ||
id: creds | ||
uses: aws-actions/configure-aws-credentials@master | ||
with: | ||
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: install Just | ||
uses: extractions/setup-just@v2 | ||
|
||
- name: Set up Quarto | ||
uses: quarto-dev/quarto-actions/setup@v2 | ||
with: | ||
version: pre-release | ||
|
||
- name: Render Quarto Project | ||
uses: quarto-dev/quarto-actions/render@v2 | ||
|
||
- run: just push-docs | ||
|
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 @@ | ||
CURRENT_YEAR=2024 |
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,42 +1,36 @@ | ||
title: posit-docs | ||
author: Ashley Henry | ||
version: 0.2.0 | ||
quarto-requred: ">=1.3.340" | ||
author: Ashley Henry, David Aja, Aron Atkins | ||
version: 4.0.1 | ||
quarto-required: ">=1.3.340" | ||
contributes: | ||
project: | ||
project: | ||
type: website | ||
website: | ||
title: | ||
favicon: "assets/images/favicon.svg" | ||
bread-crumbs: true | ||
navbar: | ||
pinned: true | ||
logo: "assets/images/posit-icon-fullcolor.svg" | ||
logo-alt: "Posit Documentation" | ||
sidebar: | ||
style: "floating" | ||
collapse-level: 1 | ||
search: true | ||
pinned: false | ||
page-footer: | ||
left: | ||
- text: © 2024 Posit Software, PBC | ||
url: "https://posit.co" | ||
center: | | ||
Posit Product 12345 | ||
logo-alt: "Posit Documentation" | ||
right: | ||
- icon: book | ||
href: https://docs.posit.co | ||
- icon: question-circle-fill | ||
href: https://support.posit.co/hc/en-us | ||
- icon: lightbulb-fill | ||
href: https://solutions.posit.co | ||
formats: | ||
html: | ||
theme: [theme.scss] | ||
link-external-icon: true | ||
link-external-newwindow: true | ||
toc: true | ||
toc-expand: true | ||
- icon: "list" | ||
aria-label: 'Drop-down menu for additional Posit resources' | ||
menu: | ||
- text: "docs.posit.co" | ||
href: "https://docs.posit.co" | ||
- text: "Posit Support" | ||
href: "https://support.posit.co/hc/en-us/" | ||
search: | ||
copy-button: true | ||
show-item-context: true | ||
format: | ||
html: | ||
theme: | ||
light: [theme.scss] | ||
dark: [theme-dark.scss] | ||
link-external-icon: true | ||
link-external-newwindow: true | ||
toc: true | ||
toc-expand: true | ||
include-in-header: "assets/_analytics.html" |
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 @@ | ||
/* Posit Color definitions */ | ||
$posit-blue: #447099; | ||
$posit-light-blue-1: #d1dbe5; | ||
$posit-light-blue-2: #a2b8cb; | ||
$posit-light-blue-3: #7494b1; | ||
$posit-dark-blue-1: #305775; | ||
$posit-dark-blue-2: #213d4f; | ||
|
||
$posit-orange: #ee6331; | ||
$posit-light-orange-1: #edccbf; | ||
$posit-light-orange-2: #eba38c; | ||
$posit-dark-orange-1: #ab4d26; | ||
$posit-dark-orange-2: #80361c; | ||
$posit-dark-orange-3: #451f12; | ||
|
||
$posit-gray: #404041; | ||
$posit-light-gray-1: #c2c2c4; | ||
$posit-light-gray-2: #949494; | ||
$posit-dark-gray-1: #333333; | ||
|
||
$posit-teal: #419599; | ||
$posit-light-teal-1: #c2d9d9; | ||
$posit-light-teal-2: #94bdbf; | ||
$posit-light-teal-3: #70a3a6; | ||
$posit-dark-teal-1: #297075; | ||
$posit-dark-teal-2: #1f4f4f; | ||
$posit-dark-teal-3: #122b2b; | ||
|
||
$posit-green: #72994e; | ||
|
||
$posit-burgundy: #9a4665; | ||
$posit-light-burgundy-1: #d9c4cc; | ||
$posit-light-burgundy-2: #bf96a3; | ||
$posit-light-burgundy-3: #a67380; | ||
$posit-dark-burgundy-1: #78384f; | ||
$posit-dark-burgundy-2: #542938; | ||
$posit-dark-burgundy-3: #2e171f; |
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,40 @@ | ||
<!-- Google Analytics 4 (G-XXXXXXXXXX) --> | ||
<script> | ||
/* Use GA when hosted by our public docs site, not when installed. */ | ||
if (location.href.indexOf("docs.posit.co") >= 0) { | ||
window.dataLayer = window.dataLayer || [] | ||
function gtag() { dataLayer.push(arguments) } | ||
/* Set up integration and send page view */ | ||
gtag("js", new Date()) | ||
gtag("config", "GTM-KHBDBW7") | ||
|
||
/* Register virtual event handlers */ | ||
document.addEventListener("DOMContentLoaded", function () { | ||
if (document.forms.search) { | ||
var query = document.forms.search.query | ||
query.addEventListener("blur", function () { | ||
if (this.value) { | ||
gtag("event", "search", { search_term: this.value }) | ||
} | ||
}) | ||
} | ||
|
||
/* Send page view on location change */ | ||
if (typeof location$ !== "undefined") | ||
location$.subscribe(function (url) { | ||
gtag("config", "GTM-KHBDBW7", { | ||
page_path: url.pathname | ||
}) | ||
}) | ||
}) | ||
/* Create script tag */ | ||
var script = document.createElement("script") | ||
script.async = true | ||
script.src = "https://www.googletagmanager.com/gtag/js?id=GTM-KHBDBW7" | ||
|
||
/* Inject script tag */ | ||
var container = document.getElementsByTagName("head")[0] | ||
var firstChild = container.firstChild | ||
container.insertBefore(script, firstChild) | ||
} | ||
</script> |
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/exclamation-circle-dm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/exclamation-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/exclamation-triangle-dm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/exclamation-triangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/info-circle-dm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
_extensions/posit-dev/posit-docs/assets/images/info-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
_extensions/posit-dev/posit-docs/assets/images/posit-guide-dm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
_extensions/posit-dev/posit-docs/assets/images/posit-guide-ltmd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.