Skip to content

Commit

Permalink
Merge files from pulumi-hugo
Browse files Browse the repository at this point in the history
* sean/migrate-content-with-history: (6617 commits)
  update make ensure
  remove temp hugo dir
  move some scripts
  move hugo files to right directories with history
  Docker Build blog post (#4211)
  update docs ad to drift/ttl (#4230)
  Update Customer Quote Link (#4229)
  update microsoft build page for 2024 (#4228)
  Update PulumiUP images (#4206)
  add redirects fro broken links (#4214)
  fix links on pricing page (#4227)
  update pulumiUp page for 2024 save-the-date (#4210)
  Sarah/fast follow (#4226)
  Fix broken links in free tier blog (#4225)
  Update schedules.md steps (#4224)
  4/24 content (#4223)
  couple of minor fixes while building docs (#4222)
  4/24 docs (#4221)
  update newsroom (#4220)
  pr feedback
  ...
  • Loading branch information
sean1588 committed Apr 30, 2024
2 parents 5b0e59e + 356560d commit 55046db
Show file tree
Hide file tree
Showing 6,295 changed files with 449,542 additions and 1,059 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ clean:
.PHONY: ensure
ensure: clean
./scripts/ensure.sh
$(MAKE) build-assets

.PHONY: serve
serve:
Expand Down Expand Up @@ -88,3 +89,11 @@ ci_bucket_cleanup:
ci_update_search_index:
echo "Updating search index: ${DEPLOYMENT_ENVIRONMENT}..."
./scripts/ci-update-search-index.sh "${DEPLOYMENT_ENVIRONMENT}"

.PHONY: serve-all
serve-all:
./node_modules/.bin/concurrently --kill-others -r "./scripts/serve.sh" "yarn --cwd ./theme run start"

.PHONY: build-assets
build-assets:
yarn --cwd ./theme run build
68 changes: 68 additions & 0 deletions archetypes/blog-post/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
title: "{{ replace .Name "-" " " | title }}"

# The date represents the post's publish date, and by default corresponds with
# the date and time this file was generated. Dates are used for display and
# ordering purposes only; they have no effect on whether or when a post is
# published. To influence the ordering of posts published on the same date, use
# the time portion of the date value; posts are sorted in descending order by
# date/time.
date: {{ .Date }}

# The draft setting determines whether a post is published. Set it to true if
# you want to be able to merge the post without publishing it.
draft: false

# Use the meta_desc property to provide a brief summary (one or two sentences)
# of the content of the post, which is useful for targeting search results or
# social-media previews. This field is required or the build will fail the
# linter test. Max length is 160 characters.
meta_desc:

# The meta_image appears in social-media previews and on the blog home page. A
# placeholder image representing the recommended format, dimensions and aspect
# ratio has been provided for you.
meta_image: meta.png

# At least one author is required. The values in this list correspond with the
# `id` properties of the team member files at /data/team/team. Create a file for
# yourself if you don't already have one.
authors:
- joe-duffy

# At least one tag is required. Lowercase, hyphen-delimited is recommended.
tags:
- change-me

# See the blogging docs at https://github.com/pulumi/pulumi-hugo/blob/master/BLOGGING.md
# for details, and please remove these comments before submitting for review.
---

What you put here will appear on the index page. In most cases, you'll also want to add a Read More link after this paragraph (though technically, that's optional. To do that, just add an HTML comment like the one below.

<!--more-->

And then everything _after_ that comment will appear on the post page itself.

Either way, avoid using images or code samples [in the first 70 words](https://gohugo.io/content-management/summaries/#automatic-summary-splitting) of your post, as these may not render properly in summary contexts (e.g., on the blog home page or in social-media previews).

## Writing the Post

For help assembling the content of your post, see [BLOGGING.md](https://github.com/pulumi/pulumi-hugo/blob/master/BLOGGING.md). For general formatting guidelines, see the [Style Guide](https://github.com/pulumi/pulumi-hugo/blob/master/STYLE-GUIDE.md).

## Code Samples

```typescript
let bucket = new aws.s3.Bucket("stuff");
...
```

## Images

![Placeholder Image](meta.png)

## Videos

{{< youtube "kDB-YRKFfYE?rel=0" >}}

Note the `?rel=0` param, which tells YouTube to suggest only videos from same channel.
Binary file added archetypes/blog-post/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions archetypes/event/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# Name of the event.
title: "Name of the Event"

# Events with unlisted as true will not be shown on the event list
unlisted: false

# Events with external registrations should not be indexed
# and have redirect to the external registration page.
block_external_search_index: true
redirect_to: "/"

# Event information
event:
# The type of activities we will be doing at the event.
type: ["talk", "booth"]
# The event address
location: "123 Main St Jacksonville, FL"
# The start date of an event. Format YYYY-MM-DD
start_date: "2020-01-01"
# The end date of an event. Format YYYY-MM-DD
end_date: "2020-01-01"
# The event description shown on the event list page.
description: "This the event description."
# The external registration url for the event list page.
registration_url: "/"
---
48 changes: 48 additions & 0 deletions archetypes/learn/module/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: "{{ replace .Name "-" " " | title }}"
layout: module

# The date represents the date the course was created.
# Posts with future dates are visible in development,
# but excluded from production builds.
# Use the time and timezone-offset portions of this value
# to schedule posts for publishing later.
date: {{ .Date }}

# Draft posts are visible in development,
# but excluded from production builds.
# Set this property to `false` before submitting the module for review.
draft: true

# The description summarizes the course.
# It appears on the Learn home and module index pages.
description: Here is a brief description of what this module's all about.

# The meta_desc property is used for targeting search results or social-media previews.
meta_desc: Here is a brief description of what this module's all about.

# The order in which the module appears on the home page.
index: 0

# The meta_image appears in social-media previews and on the Learn Pulumi home page.
# A placeholder image representing the recommended format, dimensions and aspect ratio
# has been provided for reference.
meta_image: meta.png

youll_learn:
- Stuff
- Things
- Whatnot

# At least one tag is required. Lowercase, hyphen-delimited is recommended.
tags:
- change-me

# At least one provider is required.
providers:
- aws
---

This is the content that will appear at the top of the module index page.
It should describe the overall goal of the module
and briefly summarize what the reader will know how to do by the end of it.
Binary file added archetypes/learn/module/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions archetypes/learn/topic/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
title: "{{ replace .Name "-" " " | title }}"
layout: topic

# The date represents the date the course was created.
# Posts with future dates are visible # in development,
# but excluded from production builds.
# Use the time and timezone-offset portions of of this value
# to schedule posts for publishing later.
date: {{ .Date }}

# Draft posts are visible in development,
# but excluded from production builds.
# Set this property to `false` before submitting the topic for review.
draft: true

# The description summarizes the course.
# It appears on the Learn home and module index pages.
description: Here is a brief description of what this topic will cover.

# The meta_desc property is used for targeting search results or social-media previews.
meta_desc: Here is a brief description of what this topic will cover.

# The order in which the topic appears in the module.
index: 0

# The estimated time, in minutes, for new users to complete the topic.
estimated_time: 10

# The meta_image appears in social-media previews and on the Learn Pulumi home page.
# A placeholder image representing the recommended format, dimensions and aspect ratio
# has been provided for reference.
meta_image: meta.png

# The optional meta_video also appears in social-media previews
# (taking precedence over the image) and on the module's index page.
# A placeholder video representing # the recommended format, dimensions and aspect ratio
# has been provided for reference.
# meta_video:
# url: 'http://destination-bucket-568cee2.s3-website-us-west-2.amazonaws.com/video/2020-09-03-16-46-41.mp4'
# thumb: 'http://destination-bucket-568cee2.s3-website-us-west-2.amazonaws.com/thumbs/2020-09-03-16-46-41.jpg'
# preview: 'http://destination-bucket-568cee2.s3-website-us-west-2.amazonaws.com/previews/2020-09-03-16-46-41.jpg'
# poster: 'http://destination-bucket-568cee2.s3-website-us-west-2.amazonaws.com/posters/2020-09-03-16-46-41.jpg'

# At least one author is required.
# The values in this list correspond with the `id` properties
# of the team member files at /data/team/team.
# Create a file for yourself if you don't already have one.
authors:
- christian-nunciato

# At least one tag is required.
# Lowercase, hyphen-delimited is recommended.
tags:
- change-me

# When provided, links are rendered at the bottom of the topic page.
links:
- text: Some Website
url: http://something.com
---

This is the actual body of the topic, authored in Markdown.
Binary file added archetypes/learn/topic/meta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added archetypes/templates/template/architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 55046db

Please sign in to comment.