Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

add swiftype attribute to ignore content blocks - #119

Merged
katydecorah merged 5 commits into
masterfrom
swiftype-attr
Apr 17, 2019
Merged

katydecorah merged 5 commits into
masterfrom
swiftype-attr

Conversation

@katydecorah

Copy link
Copy Markdown
Contributor

Adds data-swiftype-index="false" to content that we don't necessarily want to get index.

The counter number in the card container title adds some cruft, so we should not index that number. Otherwise it could show up in results and looks out of place:

image

Turning off indexing for the sectioned navigation as a whole since all the content is duplicated in the body of the page.

refs https://github.com/mapbox/documentation/issues/76#issuecomment-480016159

@colleenmcginnis colleenmcginnis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes! 🍓

Katy DeCorah added 2 commits April 17, 2019 09:14
* master:
  0.9.0
  Prepare 0.9.0
  Add BetaFlag component and options to add it to other components (#123)
@katydecorah
katydecorah merged commit 770bbe7 into master Apr 17, 2019
@katydecorah
katydecorah deleted the swiftype-attr branch April 17, 2019 13:16
katydecorah pushed a commit that referenced this pull request Apr 17, 2019
* master:
  add swiftype attribute to ignore content blocks (#119)
  0.9.0
  Prepare 0.9.0
  Add BetaFlag component and options to add it to other components (#123)
katydecorah pushed a commit that referenced this pull request Apr 17, 2019
* master: (22 commits)
  fixes bug in firefox where arrow was not vertically centered (#122)
  add swiftype attribute to ignore content blocks (#119)
  0.9.0
  Prepare 0.9.0
  Add BetaFlag component and options to add it to other components (#123)
  Prepare 0.8.1
  [patch] Use babel.config.js and updates build-package.js to output directories (#118)
  Prepare 0.8.0
  create versionSort function (#117)
  Prepare 0.7.0
  Add optional prop for tags for first level items in NavigationAccordion (#115)
  Prepare 0.6.0
  [docs-prose.css] make `.prose pre` rules more specific (#113)
  Add `mb24` to `OverviewHeader` (#112)
  [SectionedNavigation] filter the description if it's available (#111)
  Prepare 0.5.0
  Add warning and error themes to `Note` (#102)
  Add CSS to set max-height and style scrollbars for prose code examples (#103)
  [Card/CardContainer] Add new styles for fullwidth cards (#104)
  Add prism.css to create shared syntax styles used commonly across sites (#108)
  ...
katydecorah pushed a commit that referenced this pull request Apr 17, 2019
* master:
  fixes bug in firefox where arrow was not vertically centered (#122)
  add swiftype attribute to ignore content blocks (#119)
katydecorah pushed a commit that referenced this pull request Apr 17, 2019
* master:
  fixes bug in firefox where arrow was not vertically centered (#122)
  add swiftype attribute to ignore content blocks (#119)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants