Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace algolia with swiftype #2082

Merged
merged 1 commit into from
Aug 19, 2019
Merged

Replace algolia with swiftype #2082

merged 1 commit into from
Aug 19, 2019

Conversation

IanMadd
Copy link
Contributor

@IanMadd IanMadd commented Aug 19, 2019

Signed-off-by: IanMadd [email protected]

Description

Remove Algolia search and replace it with Swiftype.

Check List

  • Spell Check
  • Local build
  • Examine the local build
  • All tests pass

Sorry, something went wrong.

@IanMadd IanMadd requested review from schisamo and tduffield August 19, 2019 15:11
@IanMadd IanMadd requested a review from a team as a code owner August 19, 2019 15:11
Copy link
Contributor

@mjingle mjingle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IanMadd IanMadd merged commit b3af589 into hugo-migration Aug 19, 2019
@chef-ci chef-ci deleted the im/Hugo-swiftype branch August 19, 2019 18:51
IanMadd added a commit that referenced this pull request Feb 26, 2020

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
* Add content for Hugo migration

Signed-off-by: IanMadd <[email protected]>

* Move site folder to higher level

Signed-off-by: IanMadd <[email protected]>

* Introduce private verification pipeline

This will be used to execute tests that need access to secret data.

Signed-off-by: Seth Chisamore <[email protected]>

* Move to a Habitat/Hugo based site deployment

Now that we are moving docs.chef.io to Hugo we can take advantage of our
`cd_hab_hugo_static_site` Terraform module which was developed for
deploying automate.chef.io. This approach executes the underlying Hugo
build using Habitat (which produces a versioned artifact). We can also
take advantage of Habitat channels for promotions!

Signed-off-by: Seth Chisamore <[email protected]>

* Remove last remnants of Sphinx codebase

Signed-off-by: Seth Chisamore <[email protected]>

* Flatten Hugo directory at top-level

Signed-off-by: Seth Chisamore <[email protected]>

* Load theme from cloned source

Signed-off-by: Seth Chisamore <[email protected]>

* Temporarily checkout updated theme with changes from chef/chef-hugo-theme#54

Signed-off-by: Seth Chisamore <[email protected]>

* Fix verification testing for a post-Hugo world

Signed-off-by: Seth Chisamore <[email protected]>

* Actually promote the packages following a successful build

Signed-off-by: Seth Chisamore <[email protected]>

* Update content to include latest changes on chef-web-docs:master and other small fixes

Signed-off-by: IanMadd <[email protected]>

* Improves display of resource properties, updates content, adds 3 accidentally deleted pages, adds aliases to some pages

Signed-off-by: IanMadd <[email protected]>

* update content changes from master branch and add custom_resources_notes

Signed-off-by: IanMadd <[email protected]>

* Import the `chef-hugo-theme` into repo as `docs-new` theme

Improve our ability to rapidly iterate on the new theme without
worrying about:
  * impacting existing sites
  * coordinating chanages between multiple github repositories
  * being stuck on old hugo patterns

Signed-off-by: Tom Duffield <[email protected]>

* Add page last modified date to footer

Signed-off-by: IanMadd <[email protected]>

* Add back git to build environment (#2067)

Signed-off-by: Tom Duffield <[email protected]>

* Incorporate content changes made to master branch & improve resources pages (#2070)

Signed-off-by: IanMadd <[email protected]>

* Fix static asset creation via Makefiles

Signed-off-by: Tom Duffield <[email protected]>

* Do not check in fontawesome fonts

Signed-off-by: Tom Duffield <[email protected]>

* Replace algolia with swiftype (#2082)

Signed-off-by: IanMadd <[email protected]>

* Add latest changes to master branch, remove description field in front matter, replace Note div tags with shortcodes (#2099)

Signed-off-by: IanMadd <[email protected]>

* Add DCO signoff, section on adding/removing pages, a contact section, and miscellaneous improvements (#2093)

Signed-off-by: IanMadd <[email protected]>

* Fix notes and warnings in shortcodes, incorporate latest changes to master branch (#2109)

Signed-off-by: IanMadd <[email protected]>

* update content from master branch, nest shortcodes using readFile function, replace .html suffix on shortcodes with .md (#2114)

Signed-off-by: IanMadd <[email protected]>

* Replace partials with shortcodes, update content in Hugo (#2139)

* Add shortcodes and nested shortcodes to Hugo templates.

Signed-off-by: IanMadd <[email protected]>

* update content from master branch

Signed-off-by: IanMadd <[email protected]>

* update content, fix examples lists in resources pages

Signed-off-by: IanMadd <[email protected]>

* add horizontal scroll to long code blocks (#2140)

Signed-off-by: IanMadd <[email protected]>

* Hugo layout changes (#2203)

* This makes danger, important & note blocks of text easier to read.

Signed-off-by: IanMadd <[email protected]>

* Add external link icon to external links in left nav

Signed-off-by: IanMadd <[email protected]>

* Updates to Hugo theme layout and appearance

* Replace font Muli with Inter and use Source Code Pro for monospace font

Signed-off-by: IanMadd <[email protected]>

* Add copy button to code blocks

Signed-off-by: IanMadd <[email protected]>

* Convert index page to sitemap.

Signed-off-by: IanMadd <[email protected]>

* Remove tocbot and replace with Hugo toc

Signed-off-by: IanMadd <[email protected]>

* Update text to style_guide.md

Signed-off-by: IanMadd <[email protected]>

* Create proper landing page on site index

Signed-off-by: IanMadd <[email protected]>

* Update Runbook page template with layout changes and improve heading ID and TOC generation

Signed-off-by: IanMadd <[email protected]>

* Update style and layout of resource pages

Signed-off-by: IanMadd <[email protected]>

* Update style and layout of runbook list page.

Signed-off-by: IanMadd <[email protected]>

* Updates to style and layout of left navigation menu

Signed-off-by: IanMadd <[email protected]>

* Updates to site style and layout

Signed-off-by: IanMadd <[email protected]>

* fix line height in left nav and make margin around list itmes smaller

Signed-off-by: IanMadd <[email protected]>

* Update content with changes made to  master branch (#2205)

Signed-off-by: IanMadd <[email protected]>

* Im/hugo migration merge (#2263)

* Update content with changes made to  master branch

Signed-off-by: IanMadd <[email protected]>

* update actions section resources list and terms templates

Signed-off-by: IanMadd <[email protected]>

* Update properties section of resources templates

Signed-off-by: IanMadd <[email protected]>

* Add markdownify to resource description section of resource templates

Signed-off-by: IanMadd <[email protected]>

* Update examples section in resource templates

Signed-off-by: IanMadd <[email protected]>

* Update config for Hugo version 0.60+

Signed-off-by: IanMadd <[email protected]>

* Improve layout of resource description tex

Signed-off-by: IanMadd <[email protected]>

* Update resource syntax section in resource templates

Signed-off-by: IanMadd <[email protected]>

* Update config for Hugo version 0.61

Signed-off-by: IanMadd <[email protected]>

* Add note section to resource properties section of resource templates

Signed-off-by: IanMadd <[email protected]>

* Update 404 page

Signed-off-by: IanMadd <[email protected]>

* Update how syntax section is displayed in resource templates

Signed-off-by: IanMadd <[email protected]>

* Update config file

Signed-off-by: IanMadd <[email protected]>

* Improve display of Common Resource Functionality section

Signed-off-by: IanMadd <[email protected]>

* Handle shortcodes in syntax and properties sections of resource pages

Signed-off-by: IanMadd <[email protected]>

* Update properties description section in resource page templates

Signed-off-by: IanMadd <[email protected]>

* Fixes in properties and actions sections to allow shortcode or md

Signed-off-by: IanMadd <[email protected]>

* Update resource templates to handle Unit file verification section

Signed-off-by: IanMadd <[email protected]>

* Update content in Hugo

Signed-off-by: IanMadd <[email protected]>

* Im/hugo update (#2271)

* Update content and add resource pages that aren't linked to in left nav

Signed-off-by: IanMadd <[email protected]>

* Update resource page templates so resource pages can be hidden

Signed-off-by: IanMadd <[email protected]>

* Im/hugo (#2283)

* Replace chefdk with workstation in index.html

Signed-off-by: IanMadd <[email protected]>

* Update resources list template to correct display of syntax section code blocks

Signed-off-by: IanMadd <[email protected]>

* Fix Note heading text in Warning box in resource list template.

Signed-off-by: IanMadd <[email protected]>

* Add robots to head partial.

Signed-off-by: IanMadd <[email protected]>

* Update README.md and add readme for resource pages

Signed-off-by: IanMadd <[email protected]>

* Update text of resoure page templates

Signed-off-by: IanMadd <[email protected]>

* Fix rendering of text in notes in examples section of resource pages

Signed-off-by: IanMadd <[email protected]>

* Improve display of Notifications section in resource templates

Signed-off-by: IanMadd <[email protected]>

* Theme updates to fix appearance of shortcode text in resource pages

Signed-off-by: IanMadd <[email protected]>

* Content updates and fixes

Signed-off-by: IanMadd <[email protected]>

* Disable the Fastly management in the pipeline

Rather than having the pipeline manage the Fastly configuration, we are
(for the time being) going to manage it manually. This will allow us to
more easily handle how traffic is handled between the old and new docs
sites.

Signed-off-by: Tom Duffield <[email protected]>

* CSS fixes (#2285)

* CSS fixes

Signed-off-by: IanMadd <[email protected]>

* Removes smartquotes

Signed-off-by: kagarmoe <[email protected]>

* removes a few more smartquotes

Signed-off-by: kagarmoe <[email protected]>

Co-authored-by: Kimberly Garmoe <[email protected]>

* Hugo theme fixes (#2288)

Signed-off-by: IanMadd <[email protected]>

* Fix terraform whitespace to appease linter (#2296)

Signed-off-by: Tom Duffield <[email protected]>

* Content and theme updates. (#2304)

* Theme fixes

Signed-off-by: IanMadd <[email protected]>

* Content updates

Signed-off-by: IanMadd <[email protected]>

* Add missing dns-suffix for production site (#2305)

Signed-off-by: Tom Duffield <[email protected]>

* Add code of conduct to Hugo (#2310)

Signed-off-by: IanMadd <[email protected]>

* Fix bug that prevented git lastmod date/time from being added to page footer (#2308)

Signed-off-by: IanMadd <[email protected]>

* Update index page text (#2324)

Signed-off-by: IanMadd <[email protected]>

* Update content on Hugo (#2330)

* Fix bug that prevented git lastmod date/time from being added to page footer

Signed-off-by: IanMadd <[email protected]>

* Update content on Hugo

Signed-off-by: IanMadd <[email protected]>

* Replace hugo-specific swiftype search with search already used on Sphinx (#2329)

Signed-off-by: IanMadd <[email protected]>

* Update contents (#2333)

Signed-off-by: IanMadd <[email protected]>

* Currently list titles are pluralized but they shouldn't be (#2334)

Signed-off-by: IanMadd <[email protected]>

* Add redirects from pages in chef-web-docs to other sites (#2335)

Signed-off-by: IanMadd <[email protected]>

* Fix appearance of shortcode (#2336)

Signed-off-by: IanMadd <[email protected]>

* Replace links (#2337)

Signed-off-by: IanMadd <[email protected]>

* Im/fix more links (#2338)

* Fix additional links

Signed-off-by: IanMadd <[email protected]>

* Fix more links

Signed-off-by: IanMadd <[email protected]>

Co-authored-by: Seth Chisamore <[email protected]>
Co-authored-by: Tom Duffield <[email protected]>
Co-authored-by: Kimberly Garmoe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants