* 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>
114 lines
5.4 KiB
XML
114 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
<svg
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:cc="http://web.resource.org/cc/"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:svg="http://www.w3.org/2000/svg"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
width="110.4211"
|
|
height="109.8461"
|
|
id="svg2169"
|
|
sodipodi:version="0.32"
|
|
inkscape:version="0.45.1"
|
|
version="1.0"
|
|
sodipodi:docbase="/home/bene/Desktop"
|
|
sodipodi:docname="dessin-1.svg"
|
|
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
|
<defs
|
|
id="defs2171">
|
|
<linearGradient
|
|
id="linearGradient11301"
|
|
inkscape:collect="always">
|
|
<stop
|
|
id="stop11303"
|
|
offset="0"
|
|
style="stop-color:#ffe052;stop-opacity:1" />
|
|
<stop
|
|
id="stop11305"
|
|
offset="1"
|
|
style="stop-color:#ffc331;stop-opacity:1" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
gradientUnits="userSpaceOnUse"
|
|
y2="168.1012"
|
|
x2="147.77737"
|
|
y1="111.92053"
|
|
x1="89.136749"
|
|
id="linearGradient11307"
|
|
xlink:href="#linearGradient11301"
|
|
inkscape:collect="always" />
|
|
<linearGradient
|
|
id="linearGradient9515"
|
|
inkscape:collect="always">
|
|
<stop
|
|
id="stop9517"
|
|
offset="0"
|
|
style="stop-color:#387eb8;stop-opacity:1" />
|
|
<stop
|
|
id="stop9519"
|
|
offset="1"
|
|
style="stop-color:#366994;stop-opacity:1" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
gradientUnits="userSpaceOnUse"
|
|
y2="131.85291"
|
|
x2="110.14919"
|
|
y1="77.070274"
|
|
x1="55.549179"
|
|
id="linearGradient9521"
|
|
xlink:href="#linearGradient9515"
|
|
inkscape:collect="always" />
|
|
</defs>
|
|
<sodipodi:namedview
|
|
id="base"
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1.0"
|
|
inkscape:pageopacity="0.0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:zoom="0.24748737"
|
|
inkscape:cx="-260.46312"
|
|
inkscape:cy="316.02744"
|
|
inkscape:document-units="px"
|
|
inkscape:current-layer="layer1"
|
|
width="131.10236px"
|
|
height="184.25197px"
|
|
inkscape:window-width="872"
|
|
inkscape:window-height="624"
|
|
inkscape:window-x="5"
|
|
inkscape:window-y="48" />
|
|
<metadata
|
|
id="metadata2174">
|
|
<rdf:RDF>
|
|
<cc:Work
|
|
rdf:about="">
|
|
<dc:format>image/svg+xml</dc:format>
|
|
<dc:type
|
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
</cc:Work>
|
|
</rdf:RDF>
|
|
</metadata>
|
|
<g
|
|
inkscape:label="Calque 1"
|
|
inkscape:groupmode="layer"
|
|
id="layer1"
|
|
transform="translate(-473.36088,-251.72485)">
|
|
<g
|
|
id="g1894"
|
|
transform="translate(428.42338,184.2561)">
|
|
<path
|
|
style="opacity:1;color:#000000;fill:url(#linearGradient9521);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
|
|
d="M 99.75,67.46875 C 71.718268,67.468752 73.46875,79.625 73.46875,79.625 L 73.5,92.21875 L 100.25,92.21875 L 100.25,96 L 62.875,96 C 62.875,96 44.9375,93.965724 44.9375,122.25 C 44.937498,150.53427 60.59375,149.53125 60.59375,149.53125 L 69.9375,149.53125 L 69.9375,136.40625 C 69.9375,136.40625 69.433848,120.75 85.34375,120.75 C 101.25365,120.75 111.875,120.75 111.875,120.75 C 111.875,120.75 126.78125,120.99096 126.78125,106.34375 C 126.78125,91.696544 126.78125,82.125 126.78125,82.125 C 126.78125,82.124998 129.04443,67.46875 99.75,67.46875 z M 85,75.9375 C 87.661429,75.937498 89.8125,78.088571 89.8125,80.75 C 89.812502,83.411429 87.661429,85.5625 85,85.5625 C 82.338571,85.562502 80.1875,83.411429 80.1875,80.75 C 80.187498,78.088571 82.338571,75.9375 85,75.9375 z "
|
|
id="path8615" />
|
|
<path
|
|
id="path8620"
|
|
d="M 100.5461,177.31485 C 128.57784,177.31485 126.82735,165.1586 126.82735,165.1586 L 126.7961,152.56485 L 100.0461,152.56485 L 100.0461,148.7836 L 137.4211,148.7836 C 137.4211,148.7836 155.3586,150.81787 155.3586,122.53359 C 155.35861,94.249323 139.70235,95.252343 139.70235,95.252343 L 130.3586,95.252343 L 130.3586,108.37734 C 130.3586,108.37734 130.86226,124.03359 114.95235,124.03359 C 99.042448,124.03359 88.421098,124.03359 88.421098,124.03359 C 88.421098,124.03359 73.514848,123.79263 73.514848,138.43985 C 73.514848,153.08705 73.514848,162.6586 73.514848,162.6586 C 73.514848,162.6586 71.251668,177.31485 100.5461,177.31485 z M 115.2961,168.8461 C 112.63467,168.8461 110.4836,166.69503 110.4836,164.0336 C 110.4836,161.37217 112.63467,159.2211 115.2961,159.2211 C 117.95753,159.2211 120.1086,161.37217 120.1086,164.0336 C 120.10861,166.69503 117.95753,168.8461 115.2961,168.8461 z "
|
|
style="opacity:1;color:#000000;fill:url(#linearGradient11307);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
|
|
</g>
|
|
</g>
|
|
</svg>
|