9 Commits

Author SHA1 Message Date
Fraser Waters
3c9cb0c8d4
Update install-go.html to align with Go terms (#3382)
* Update install-go.html to align with Go terms

We were calling 1.20 to 1.21 a minor release. Go calls that a major release.

* Update themes/default/layouts/shortcodes/install-go.html

Co-authored-by: Thomas Kappler <tkappler@pulumi.com>

---------

Co-authored-by: Thomas Kappler <tkappler@pulumi.com>
2023-09-18 12:00:53 +01:00
susan evans
ad29524df0
update note styles (#2828) 2023-05-18 11:36:01 -07:00
Abhinav Gupta
6ed2e7adc4
shortcode/install-go: Recommend "supported" versions of Go (#2476)
Some of our documentation currently states that
we support Go 1.18 or higher.
This is not accurate.
We support only those versions of Go that are supported by upstream Go:
typically the latest two minor versions (e.g., 1.20 and 1.19 right now).

This tweaks the wording there to just "supported versions"
instead of hard-coding 1.18 or 1.19
and having to update that 6 months from now.

---

This shortcode is used on the following pages:

```
% rg -l install-go
themes/default/content/docs/get-started/aws/begin.md
themes/default/content/docs/get-started/gcp/begin.md
themes/default/content/docs/get-started/kubernetes/begin.md
themes/default/content/docs/get-started/azure/begin.md
themes/default/content/docs/guides/automation-api/getting-started-automation-api.md
```
2023-02-07 15:48:56 -08:00
Christian Nunciato
65d4c3123f
Update the minimum Go version (#1989) 2022-09-27 23:58:05 +00:00
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
Morgan Gangwere
ceed5511e6
Include note about Go 1.16 minimum (#833) 2021-11-18 10:53:02 -08:00
Evan Boyle
6bcdc385bc update go aws/gcp/azure getting started to use go modules (#2792) 2020-03-30 22:18:44 -07:00
Evan Boyle
4a495916c9 update go aws getting started docs (#2480) 2020-02-19 19:05:21 -08:00
Joe Duffy
911188968d Do an editorial pass over programming model docs (#2241)
* Do an editorial pass over programming model docs

This is an editorial pass over the programming model docs, as part
of #1618. This includes rearranging ordering to minimize forward
references, getting rid of anything that smells "TypeScript-only",
restructuring headers so the ToC is a bit more structured,
wordsmithing, fleshing out examples, and trying to simplify the
presentation of content -- while also embellishing where it helps.

This is not done. The Go and TypeScript pages are empty. There is
still quite a number of TypeScript-only hyperlinks and terminology.

* Add Vim swp files to gitignore

* Use shortcodes to cut down on language-specific text/links

This change adds some shortcodes for common language-specific
text and associated links.

For instance, outputs are Output in JS, Output<T> in TS,
Output[T] in Python, Output in Go, and Output<T> in C#, and go
to very different places hyperlink-wise.

Because of the way our language switcher JavaScript works, we
display the JS version by default until it kicks in and picks
up the user's choice. This avoids awkward flashes in which all
or none of the options are available or missing.

I'm not done applying this to all possible codes, but at least
it lays the foundation to start paying down this debt.

* Fix a couple hygiene issues

* Clarify conditional execution of apply

* Fix input shortcode

* Add shortcodes for most language-specific things

This eliminates most (all?) of the language-specific texts and
links in the programming model document, replaced with shortcodes.

* Fix up some loose ends

* Add Go language page and Get Started guides

* Fix linter errors

* Apply suggestions from code review

Co-Authored-By: Christian Nunciato <c@nunciato.org>

* Apply additional code review feedback

* Use spaces, not tabs.

* Use tailwind styles, not inline CSS.

Co-authored-by: Christian Nunciato <christian@pulumi.com>
2020-01-21 19:34:59 -08:00