16 Commits

Author SHA1 Message Date
Kimberley Mackenzie
e35e01f06f
Prettier Spike (#1517)
* Add Prettier set-up (no formatting in this commit).

* Manual fixes for Prettier issues.

* Run Prettier fix on non-markdown files.

* Incorporate Prettier PR feedback - update commands, re-apply new yaml styles, add editor config.

* Remove deprecated config item.

* Add dependency on prettier-plugin-go-template.

* reconcile changed file with prettier formatting.

* Add git blame ignore revs file to include Prettier formatting commit.

* Fix format issue with merge conflict.
2022-06-01 10:58:20 -07:00
Christian Nunciato
f12ced68f8
Fix tutorial indexes (#156) 2021-04-27 19:52:16 -07:00
Christian Nunciato
9d1c1a14b9 Upgrade to latest Hugo (#5418) 2021-03-14 07:14:21 -07:00
Mikhail Shilkov
180549b801 Rename Azure NextGen to Azure-Native (#5351)
Co-authored-by: David Wrede <dave@pulumi.com>
2021-03-02 10:01:27 -08:00
Christian Nunciato
e6456b6a24 Regenerate tutorials (#5290) 2021-02-17 08:55:28 -08:00
Komal
af00df77c1 Update tutorials (#4677) 2020-12-07 09:49:09 -08:00
Christian Nunciato
9a1fefece3 Fix broken links (#3646)
* Fix broken links
* Handle F# examples
2020-06-23 13:37:13 -07:00
Luke Hoban
707ccdc128 Update tutorials (#3260)
Re-run mktutorial.sh to regenerate tutorial content from the Examples repo.

It's not immediately clear to me we *want* to keep all the newly added tutorials here, as the examples are of a varying level of quality/completeness.  We could alternatively only accept the "modifications" here and leave out the new tutorials for now.  But broadly speaking the additions help flesh out multi-language coverage for a number of areas.  I'm inclined to just keep everything here for now, until we decide on a different strategy for tutorials overall.
2020-05-12 10:03:42 -07:00
Christian Nunciato
27c9c296ad Use the new language chooser (#2642)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2020-03-20 09:32:19 -07:00
Zack Chase
099ee039c2 Add language to tutorial page title (#2288)
* Add language to tutorial title

* Assign name parts to variables

* Regenerate tutorials

* Fix typo on gcp ruby tutorial
2020-01-27 15:24:45 -08:00
Maria Bermudez
be9ae3fc81 EC2 Webserver Tutorial Cleanup (#1763)
* Clean up EC2 webserver tutorial
Add shortcode for multi-language prerequisites
Add shortcode for GitHub buttons for multi-language examples

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Pull in tutorial title updates

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Clean up EC2 webserver tutorial

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Fix broken link

- Use ungreedy matches for links.
- Don't attempt to fix-up links that start with "../"
2019-09-23 11:33:04 -07:00
Justin Van Patten
e8ed522107 Rerun mktutorial (#1754)
Pull in latest changes from pulumi/examples (fixed-up links)
2019-09-17 11:23:14 -07:00
Justin Van Patten
866dc29ad9 mktutorial template improvements (#1743)
- Fix left alignment of "Edit on this Page" and "Request a Change"
- Remove "Edit on this Page" for generated pages
- Add "WARNING: this was generated by a tool" comment to generated pages
- Use Tailwind for styles
2019-09-16 10:17:12 -07:00
Praneet Loke
6f7a0067d6 Add a trailing slash to the tutorial URL (#1702)
* Add a trailing slash to the tutorial URL.

* Regenerate tutorial cloud index pages.
2019-09-06 10:26:22 -07:00
Praneet Loke
5af6e1df20 Fix mktutorial tool to detemine the correct Pulumi.yaml path for Deploy With Pulumi buttons (#1676)
* Add a new property in the tutorial template to set the correct URL for the Deploy With Pulumi button.

* Regenerate tutorials.

* Detect Deploy With Pulumi button links and use its destination as the PulumiTemplateURL.
2019-09-06 08:36:36 -07:00
Joe Duffy
a8ace1b150 Add auto-generated tutorials and indexes (#1620)
This change adds auto-generated tutorials, using our [examples repo](https://github.com/pulumi/examples) as its source. Namely, we scrape the README.mds. We do some on-the-fly rewriting of certain content to make it work on the docs website -- including adding appropriate links back to the GitHub source code -- however, for the most part, the content is taken as-is. There are plenty of examples that need to be tidied up for consistency, to make the titles better, and so on, but this seems like a significant overall improvement so we plan to land roughly as-is.

* Add auto-generated tutorials and indexes

* Update URLs to use new post-ToC update structure

* Add a Featured Tutorials section to AWS

* Add curated "Featured Tutorials" sections

* Remove numbers from tutorial titles

* Add links to the tutorials source code

* Remove "all tutorials" index

* Don't link to AKS from GCP tutorials page

* Add a VIEW CODE button

And also wordsmith some of the "get source code first" note.

* Use linktitle for shorter titles

This ensures that the navigation name and the breadcrumb match.

* Update text for requesting a new tutorial

* Add mktutorial to `make gen`

* Add a nicer tutorials landing page

* Simplify the VIEW CODE button

* Rewrite relative Markdown links

This change automatically rewrites Markdown links that are
relative to our GitHub repo, so that we don't end up with broken
links in the resulting documentation website.

* Fix some broken links

* Ignore some example links

Our examples contain a lot of illustrative links that are either
synthetic or not meant to be publicly accessed. Ignore them during
broken link checking.
2019-08-28 09:10:09 -07:00