Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the build #8734

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[![Actively Maintained](https://img.shields.io/badge/Pantheon-Actively_Maintained-yellow?logo=pantheon&color=FFDC28)](https://docs.pantheon.io/oss-support-levels#actively-maintained-support)

Pantheon Documentation
======================
# Pantheon Documentation

https://docs.pantheon.io/

This repository contains the [Pantheon](https://pantheon.io) documentation as well as the tools to build local test environments.

## Changelog
- 2023/02: Pantheon Docs is now a [Pantheon Front-End site](https://docs.pantheon.io/guides/decoupled/overview) running Gatsby 4.
- 2019/08: We've relaunched the project using [Gatsby](https://www.gatsbyjs.org) for faster development, and _much_ faster page speed.

- 2023/02: Pantheon Docs is now a [Pantheon Front-End site](https://docs.pantheon.io/guides/decoupled/overview) running Gatsby 4.
- 2019/08: We've relaunched the project using [Gatsby](https://www.gatsbyjs.org) for faster development, and _much_ faster page speed.

### Contributing

Our docs are written in [Markdown](https://daringfireball.net/projects/markdown/) and extended with [MDX](https://github.com/mdx-js/mdx) components. The pages live in `source/content`. Read [CONTRIBUTING](<CONTRIBUTING.md>) for more details on contributing documentation improvements.
Our docs are written in [Markdown](https://daringfireball.net/projects/markdown/) and extended with [MDX](https://github.com/mdx-js/mdx) components. The pages live in `source/content`. Read [CONTRIBUTING](CONTRIBUTING.md) for more details on contributing documentation improvements.

### Style Guide

Expand All @@ -23,16 +23,16 @@ Read [our Style Guide](https://docs.pantheon.io/style-guide) for our guidelines

### Prerequisites

- MacOS or Linux system (untested with Bash on Windows)
- [Node.js](https://nodejs.org/en/)
- [NVM](https://github.com/nvm-sh/nvm#installing-and-updating)
- Gatsby CLI:
- MacOS or Linux system (untested with Bash on Windows)
- [Node.js](https://nodejs.org/en/)
- [NVM](https://github.com/nvm-sh/nvm#installing-and-updating)
- Gatsby CLI:

```bash
npm install -g gatsby-cli
```
```bash
npm install -g gatsby-cli
```

- Alternatively, you can use [Lando](https://docs.lando.dev). Use Lando to bypass installing Node.js and the Gatsby CLI on your local machine. Lando requires a Docker version in the `2.1.0.0` - `3.1.99` range.
- Alternatively, you can use [Lando](https://docs.lando.dev). Use Lando to bypass installing Node.js and the Gatsby CLI on your local machine. Lando requires a Docker version in the `2.1.0.0` - `3.1.99` range.

#### Mac Steps

Expand Down Expand Up @@ -117,3 +117,5 @@ We include several tools to test that new content doesn't break the documentatio
### Merge Conflicts

To check for merge conflict messages accidentally committed into the docs, run `merge_conflicts.sh` from `scripts`.

test
2 changes: 1 addition & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "./node_modules/@pantheon-systems/pds-toolkit-react/_dist/css/pds-compone

// Global styles
import "./src/styles/main.css"
import "./src/styles/pds-additions.css"
import "./src/styles/hacks.css"

// custom typefaces
import "prismjs/themes/prism-okaidia.css"
Expand Down
106 changes: 98 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions source/data/landings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,6 @@
- title: "Guides"
subtitle: ""
path: "guides"
footer_border: true
guides:
- title: ""
type: "normal"
Expand Down Expand Up @@ -1167,7 +1166,6 @@
- title: "Account Management at Pantheon"
subtitle: "Learn how to set up your teams, use your dashboards, and how billing works. You should be able to comfortably develop an organization plan and administer your Pantheon platform after reading these guides."
path: "manage"
footer_border: true
guides:
- title: ""
type: "normal"
Expand Down
6 changes: 1 addition & 5 deletions src/components/card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ const Card = ({ title, isOfficial, author, authorLink, link, children }) => {
</div>

<div className="plugin-card__link">
<a
href={link}
target="_blank"
className="pds-button pds-button--secondary"
>
<a href={link} target="_blank" className="pds-button">
Get plugin
<Icon
iconName="externalLink"
Expand Down
6 changes: 5 additions & 1 deletion src/components/headerBody/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ const HeaderBody = ({
{lastReviewed}
</time>
</p> */}
{!subtitle && <h1 className="docs-title">{title}</h1>}
{!subtitle && (
<h1 className="docs-title" id="docs-main">
{title}
</h1>
)}

{subtitle && <h1>{subtitle}</h1>}

Expand Down
20 changes: 11 additions & 9 deletions src/components/navButtons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,26 @@ const NavButtons = ({
justifyContent="between"
className="pds-spacing-mar-block-start-m pds-spacing-mar-block-end-xl"
>
<ul className="pagination pager-guides">
{prev && (
<li className="pagination__prev">
{prev && (
<ul className="pagination pager-guides">
<li>
<Link to={prev} rel="prev" className="pds-button">
<Icon iconName="angleLeft"></Icon>
{prevTitle}
</Link>
</li>
)}
{next && (
<li className="pagination__next">
<Link to={next} rel="next" className="pds-button">
</ul>
)}
{next && (
<ul className="pagination pager-guides">
<li>
<Link to={next} rel="prev" className="pds-button">
{nextTitle}
<Icon iconName="angleRight"></Icon>
</Link>
</li>
)}
</ul>
</ul>
)}
</FlexContainer>
)
}
Expand Down
7 changes: 0 additions & 7 deletions src/components/navButtons/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
ul.pagination {
list-style-type: none;
padding: 0;
display: flex;
justify-content: flex-end;
width: 100%;
}

ul.pagination:has(li.pagination__prev) {
justify-content: space-between;
}
Loading