4924 Commits

Author SHA1 Message Date
Justin Van Patten
23ce3246a9 Fix broken links in footer 2019-06-14 13:11:19 -07:00
Justin Van Patten
163bebb214 Update docs homepage CTAs 2019-06-14 13:11:19 -07:00
Justin Van Patten
e51f3b1e89 Add get-started-stepper shortcode
Used to emit PREVIOUS and NEXT buttons based on the pages in the current directory, ordered by page weight. We'll use this on each of the Get Started pages to automatically add the necessary prev/next buttons at the bottom of each page.
2019-06-14 13:11:19 -07:00
Justin Van Patten
3ed7e82e08 Add install-pulumi shortcode
Contains an optimized Install Pulumi template that can be included in each of the Get Started guides. It does the platform detection and recommends the preferred install approach, with a link to the full install instructions.
2019-06-14 13:11:19 -07:00
Justin Van Patten
a963353e88 Add install-python shortcode 2019-06-14 13:11:19 -07:00
Justin Van Patten
433278564b Add install-node shortcode
We'll recommend version 8 or higher as we no longer test on 6 which is deprecated on the clouds. Update some other references to Node.js 6 as well.
2019-06-14 13:11:19 -07:00
Justin Van Patten
eec0cc18ea Add langfile shortcode
Used to display an appropriate default filename for the selected language.
2019-06-14 13:11:19 -07:00
Justin Van Patten
4eda41e13c Update links for all moved files 2019-06-14 13:11:19 -07:00
Justin Van Patten
5042cd487f Concatenate, minify, and fingerprint scripts 2019-06-14 08:53:48 -07:00
Justin Van Patten
290ff404b5 Single place to update the latest-version (#1152)
When publishing a new version of the SDK, we must update the latest
version in two places:

    1. In the front matter of `content/quickstart/install.md`, and
    2. In the `static/latest-version` file.

There's no reason we need to update these separately, so converge on
only needing to update `latest-version`, and provide a shortcode to make
it easy to include the latest version in content files.
2019-06-11 15:03:56 -07:00
joeduffy
c5bcdb8896 Add a Crosswalk CTA on the landing page 2019-06-10 22:13:34 -07:00
joeduffy
91928b0861 Update the tagline 2019-06-10 20:08:27 -07:00
Justin Van Patten
f8eb25eb62 Fix strange markdown rendering in API docs (#1122)
Hugo's markdown renderer does not support rendering markdown inside HTML tags and does not support the `markdown="1"` attribute on HTML tags that Jekyll supports to enable markdown rendering inside the tags.

To work around this limitation, we have a custom `md` shortcode that can be used inside HTML tags to wrap markdown that should be rendered. However, there was a bug in our `md` shortcode. We use the `{{% md %}}` syntax instead of `{{< md >}}` because we intend to have markdown inside the shortcode, and inside our `md` layout, we use `{{ markdownify .Inner }}` to render the `.Inner` content as markdown. However, in some cases, when not actually inside HTML tags, `.Inner` will end up being already rendered markdown. So we end up passing the already rendered markdown through the `markdownify` function, resulting in some wacky rendering.

The fix is to specify the behavior of `{{% %}}` per https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown, which consistently renders `.Inner` as markdown and emit `.Inner` directly without passing it through `markdownify`.
2019-06-04 21:46:42 -07:00
Joe Duffy
8d0f4c076f Alter tagline slightly 2019-05-31 05:06:53 -07:00
Justin Van Patten
2d24daf2d2 Sitemap from www 2019-05-24 09:16:31 -07:00
Justin Van Patten
b5100b8433 Update layouts/* for Hugo 2019-05-24 09:16:31 -07:00
Justin Van Patten
a9ad45e17f Move _layouts/* and _includes/* to layouts/*
Some includes are now partials under layouts/partials. Shared content that is included in markdown files are Hugo shortcodes under layouts/shortcodes.
2019-05-24 09:16:31 -07:00
Justin Van Patten
b2b09c796b Update content/_index.md for Hugo 2019-05-24 09:16:31 -07:00
Justin Van Patten
197cc2bc02 Move index.md => content/_index.md 2019-05-24 09:16:31 -07:00
Justin Van Patten
67f16479ba Remove unneeded front matter 2019-05-24 09:16:31 -07:00
Justin Van Patten
d6118b4b40 Move a few files in the root to be under /static 2019-05-24 09:16:31 -07:00
Justin Van Patten
8e978a05ea Move images/* => static/images/* 2019-05-24 09:16:31 -07:00
Justin Van Patten
d0f4d6bece Move fonts/* => static/fonts/* 2019-05-24 09:16:31 -07:00
Justin Van Patten
55eab8881c Move _sass/* => assets/sass/*
And delete duplicate fontawesome files (for some reason we had two copies of the fontawesome sass files)
2019-05-24 09:16:31 -07:00