Skip to content

Conversation

@chrsmith
Copy link
Contributor

@chrsmith chrsmith commented Jul 2, 2019

Merging fusion into master. We should be up-to-date with the latest bits from master, thanks to #1263.

cnunciato and others added 30 commits June 6, 2019 15:42
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
cnunciato and others added 23 commits June 27, 2019 06:53
Also makes a few slight adjustments to improve mobile layout on the home page.

Signed-off-by: Christian Nunciato <c@nunciato.org>
* Use explicit code blcoks with language

* Fix sort order for Author and Tag listings

* Make sidebar toggleable on mobile

* Resize "poster" image for blog listings

* Crop photos to be square

* Add posted date, post tags to blog footer

* Add recent posts lists to sidebar

* Add syntax highlighting to some missed posts

* Fix Hugo build warning

* Adjust sidebar styling
* Cleanup /docs/aws layouts to match other docs sections

* Cleanup /docs pages

- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav

* Add `.btn-secondary` and use it in a few places
Should be using the default here. I was debugging and forgot to switch this back before committing.

Signed-off-by: Christian Nunciato <c@nunciato.org>
This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. 😄

Signed-off-by: Christian Nunciato <c@nunciato.org>
* Update API doc styling for Python

Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.

* Only emit the <h1>.Title</h1> if there is a .Title

The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.

* Update _pygments.scss to select .highlight instead of .chroma

The syntax highlighted code generated by Hugo looks like:

```
<div class="highlight">
    <pre class="chroma">
        <code class="language-foo">
        ...
        </code>
    </pre>
</div>
```

And our styles looks like:

```
.chroma .k { ... }
.chroma .kc { ... }
...
```

This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.

This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.

In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.

```
.highlight .k { ... }
.highlight .kc { ... }
...
```

* Update API doc styling for Node.js
* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.

Signed-off-by: Christian Nunciato <c@nunciato.org>
If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.

If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.

This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.
* Make the header more responsive

Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Bottom-align the image on the whitepaper layout

Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Add team@pulumi link to the footer

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Restore the newsroom and investors sections

Somehow these got dropped! 😱

Signed-off-by: Christian Nunciato <c@nunciato.org>
Merge branch 'master' into 'fusion'
Also deletes unused templates.

Signed-off-by: Christian Nunciato <c@nunciato.org>
)

* Fix section link on the Why Pulumi page

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Capitalize Kubernetes in copy

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Adjust image sizes on Whitepaper page

Properly size them on both mobile and desktop.

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Fix paging on mobile

Decrease padding to prevent overflow.

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Improve Pricing page layout

Signed-off-by: Christian Nunciato <c@nunciato.org>
Signed-off-by: Christian Nunciato <c@nunciato.org>
Merge branch 'master' into 'fusion'
* Move older 'pulumi.io' stacks to infrastructure-old

* Add new 'www.pulumi.com' infrastructure folder

* Scripts to hook up to CI/CD

* Switch back to using generic Travis worker

* Add alias to CDN for staging.pulumi.io

* Remove alias to staging.pulumi.io

* Do not use named profiles for deployments

There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.

For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.

* Remove CloudFront alias entirely
Signed-off-by: Christian Nunciato <c@nunciato.org>
* Hook up new www.pulumi.com/production stack to CI/CD

* Correct Makefile syntax
@chrsmith chrsmith requested a review from cnunciato July 2, 2019 23:16
Copy link
Contributor

@cnunciato cnunciato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@chrsmith chrsmith merged commit 1235bad into master Jul 2, 2019
@pulumi-bot pulumi-bot deleted the fusion branch July 2, 2019 23:30
@chrsmith chrsmith changed the title GREAT WEBSITE MIGRATION OF 2018 GREAT WEBSITE MIGRATION OF 2019 Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants