-
Notifications
You must be signed in to change notification settings - Fork 258
GREAT WEBSITE MIGRATION OF 2019 #1269
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
Merged
Conversation
This file contains hidden or 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
Signed-off-by: Christian Nunciato <c@nunciato.org>
Move content into content/docs
Signed-off-by: Christian Nunciato <c@nunciato.org>
Make search work
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>
Add beginnings of www content
Signed-off-by: Christian Nunciato <c@nunciato.org>
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
cnunciato
approved these changes
Jul 2, 2019
Contributor
cnunciato
left a comment
There was a problem hiding this 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. 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merging
fusionintomaster. We should be up-to-date with the latest bits frommaster, thanks to #1263.