Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Implemented editorial comments.

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
  • Loading branch information
hdhalter and natebower authored May 30, 2024
1 parent 1ff98a1 commit 9e0e99e
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: So you want better OpenSearch Documentation?
title: So you want better OpenSearch documentation?
authors:
- epugh
- chull
Expand All @@ -12,49 +12,49 @@ layout: post
meta_description: <provided by marketing>
---

[Charlie Hull](https://opensourceconnections.com/team/charlie-hull/) and I, [Eric Pugh](https://opensourceconnections.com/team/eric-pugh/), OpenSource Connections, had the opportunity during the “Unconference” portion at [_OpenSearchCon EU_](https://opensearch.org/events/opensearchcon/2024/europe/index.html) to talk about the current state of the OpenSearch documentation and get some feedback from the community. I chose this topic based on conversations I had with Heather Halter, OpenSearch Documentation Manager, last fall at OpenSearchCon Seattle.
[Charlie Hull](https://opensourceconnections.com/team/charlie-hull/) and I, [Eric Pugh](https://opensourceconnections.com/team/eric-pugh/), OpenSource Connections, had the opportunity during the “Unconference” portion of [OpenSearchCon Europe 2024](https://opensearch.org/events/opensearchcon/2024/europe/index.html) to talk about the current state of the OpenSearch documentation and get some feedback from the community. I chose this topic based on conversations I had with Heather Halter, OpenSearch Documentation Manager, last fall at OpenSearchCon 2023 in Seattle.

Check failure on line 15 in _posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Spelling] Error: Unconference. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks. Raw Output: {"message": "[OpenSearch.Spelling] Error: Unconference. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown", "range": {"start": {"line": 15, "column": 197}}}, "severity": "ERROR"}

![lightning talk](../assets/media/blog-images/2024-06-03-improvedocs/2024-06-03-improvedocs.jpg)(https://www.youtube.com/watch?v=eRLmIzevC-4)

We started with the slightly tongue-in-cheek statement that the way you search Reddit is to go to Google and search _How do I (insert any task here) +Reddit_ to get the information you want. The pattern that lots of folks use to find information about OpenSearch (unsurprisingly, as OpenSearch started as a fork of Elasticsearch) is to go to Google and search _How do I (insert any task here) +Elasticsearch_. That statement was met with a few nodding heads and light chuckling.
We started with the slightly tongue-in-cheek statement that the way you search Reddit is to go to Google and search "_How do I (insert any task here) +Reddit_" to get the information you want. The pattern that lots of folks use to find information about OpenSearch (unsurprisingly, as OpenSearch started as a fork of Elasticsearch) is to go to Google and search "_How do I (insert any task here) +Elasticsearch"_. That statement was met with a few nodding heads and light chuckling.

We then introduced [_The Documentation System_](https://docs.divio.com/documentation-system/), which is referred to as *The Grand Unified Theory of Documentation*. You may know it as [_Diátaxis_](https://diataxis.fr/)*,* (I am unclear about the relationship between the two sites!) Heres a [video](https://www.youtube.com/watch?v=t4vKPhjcMZg) explaining the concept, which divides documentation into four quadrants: Tutorials, How-To Guides, Explanation, and Reference.
We then introduced [The Documentation System](https://docs.divio.com/documentation-system/), which is referred to as *The Grand Unified Theory of Documentation*. You may know it as [Diátaxis](https://diataxis.fr/) (I am unclear about the relationship between the two sites!). Here's a [video](https://www.youtube.com/watch?v=t4vKPhjcMZg) explaining the concept, which divides documentation into four quadrants: Tutorials, How-To Guides, Explanation, and Reference.

![Divio quadrants](../assets/media/blog-images/2024-06-03-improvedocs/2024-06-03-quadrant.jpg)

Check failure on line 23 in _posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Spelling] Error: Divio. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks. Raw Output: {"message": "[OpenSearch.Spelling] Error: Divio. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown", "range": {"start": {"line": 23, "column": 3}}}, "severity": "ERROR"}

OpenSearch actually does a pretty good job of the _Reference_ portion of the puzzle, especially considering that there are new releases every six weeks. I started contributing documentation late last year and recently joined the [_opensearch-project/documentation-website_](https://github.com/opensearch-project/documentation-website) repository as a Maintainer. I see a constant flow of both new docs and the improvement of existing docs. Considering the ratio of writers to developers and where the project was not too long ago, I think were doing a really good job of keeping up with both.
OpenSearch actually does a pretty good job of the _Reference_ portion of the puzzle, especially considering that there are new releases every 6 weeks. I started contributing documentation late last year and recently joined the [opensearch-project/documentation-website](https://github.com/opensearch-project/documentation-website) repository as a maintainer. I see a constant flow of both new docs and the improvement of existing docs. Considering the ratio of writers to developers and where the project was not too long ago, I think we're doing a really good job of keeping up with both.

The other three quadrants, however, is where we could do a better job. There is _Tutorial_ and _Explanation_ content mixed in with the _Reference_ content, but you can spend a lot of time wading through the minutiae of how things work when you are really looking for understanding of the core principles. We also have a huge amount of great content in the existing [blog](https://opensearch.org/blog/) that could flesh out these other areas of documentation, not to mention if we start linking out to third-party blogs. This is an area I plan to invest more energy into.
The other three quadrants, however, are where we could do a better job. There is _Tutorial_ and _Explanation_ content mixed in with the _Reference_ content, so you can spend a lot of time wading through the minutiae of how things work when you are really looking for an understanding of the core principles. We also have a huge amount of great content in the existing [blog](https://opensearch.org/blog/) that could flesh out these other areas of the documentation, especially if we start linking to third-party blogs. This is an area I plan to invest more energy into.

Charlie then asked the audience what their thoughts were and we captured a lot of great insights. I then followed up with Heather Halter whose remarks are in *italics*.
Charlie then asked the audience what their thoughts were, and we captured a lot of great questions and comments. I then followed up with Heather Halter, whose remarks are in *italics*.

**Older versions of OpenSearch docs often show up in Google which is often jarring. Can we make sure Google is properly indexing the latest content?**
**"Older versions of OpenSearch docs often show up in Google, which is often jarring. Can we make sure Google is properly indexing the latest content?"**

_While weve made a lot of progress in this area, particularly with implementing a redirect strategy, we are currently planning on adding canonical links to all the older pages. The goal is to get this work done by the end of Q2, which should show a big improvement in the back half of the year._
_While we've made a lot of progress in this area, particularly with implementing a redirect strategy, we are currently planning on adding canonical links to all the older pages. The goal is to get this work done by the end of Q2, which should show a big improvement in the back half of the year._

**I often find a GitHub issue that answers my question and I ⭐it. Someone suggested that we look for comments on GitHub issues that have lots of stars and use that as input to where docs could be improved.**
**"I often find a GitHub issue that answers my question and I ⭐ it." Someone suggested that we look for comments on GitHub issues that have lots of stars and use that as an indicator of where docs could be improved.**

_Great suggestion!_

**My 2-yr old wont let me work at night was one response to the question of why people who find a gap in documentation dont pursue opening a PR to improve the docs.**
**"My 2-year-old won't let me work at night" was one response to the question of why people who find a gap in documentation don't pursue opening a PR to improve the docs.**

_We love community contributions and have made it really easy to start. Check out the [CONTRIBUTING.md](http://contributing.md/) file and watch this [YouTube video](https://www.youtube.com/watch?v=zmVC3fQwnVI) on our documentation process and how you can contribute. You can also search through the issues labeled "[good first issue"](https://github.com/opensearch-project/documentation-website/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or "[help wanted"](https://github.com/opensearch-project/documentation-website/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)._
_We love community contributions and have made it really easy to start. Check out the [CONTRIBUTING.md](http://contributing.md/) file and watch this [YouTube video](https://www.youtube.com/watch?v=zmVC3fQwnVI) on our documentation process and how you can contribute. You can also search through the issues labeled [good first issue](https://github.com/opensearch-project/documentation-website/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [help wanted](https://github.com/opensearch-project/documentation-website/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)._

**Backwards compatibility in API’s came up as an issue. It would be interesting if we could better communicate API changes over time.**
**Backwards compatibility in APIs came up as an issue. It would be interesting if we could better communicate API changes over time.**

_We use the "Introduced (version)" label to indicate the release in which a feature is introduced. But going backwards to identify everything is a big job. We received a suggestion to do this for field types, so I labeled it with *[*_good first issue_*](https://github.com/opensearch-project/documentation-website/issues/6993)*" in case someone wants to jump in._
_We use the "Introduced (version)" label to indicate the release in which a feature is introduced. But going backwards to identify everything is a big job. We received a suggestion to do this for field types, so I labeled it with "*[*_good first issue_*](https://github.com/opensearch-project/documentation-website/issues/6993)*" in case someone wants to jump in._

**Someone did make the comment that they did NOT believe that developers dont like to write docs, especially in open source, but that we need to strive to continue to lower the barriers to contributing docs.**
**Someone did make the comment that they do NOT believe that developers don't like to write docs, especially in open source, but that we need to strive to continue to lower the barriers to contributing docs.**

_We are relying more and more on developers to write content and are looking at tools that make it easier and faster to write good documentation. We also have a great automated style checker built into our process that helps developers learn how to write better by correcting their mistakes._

**One person asked what powered the site search, and the response that it is OpenSearch sparked a conversation about could we apply the new capabilities in OS like hybrid search and vectors to what powers the website. Kris Freedain spoke up with a Who wants to collaborate on this? and at least one person raised their hand ;-).**
**One person asked what powered the site search functionality, and the response that it is OpenSearch sparked a conversation about whether we could apply new OpenSearch capabilities, like hybrid search and vectors, to what powers the website. Kris Freedain spoke up with a "Who wants to collaborate on this?", and at least one person raised their hand ;-).**

Check failure on line 51 in _posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Spelling] Error: Freedain. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks. Raw Output: {"message": "[OpenSearch.Spelling] Error: Freedain. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown", "range": {"start": {"line": 51, "column": 249}}}, "severity": "ERROR"}

_We are currently looking at how we can upgrade the search experience on the overall website. Please get in touch with [Kris Freedain](https://www.linkedin.com/in/krisfreedain/) if you are interested._

Check failure on line 53 in _posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Spelling] Error: Freedain. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks. Raw Output: {"message": "[OpenSearch.Spelling] Error: Freedain. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_posts/2024-06-03-so-you-want-better-opensearch-documentation.markdown", "range": {"start": {"line": 53, "column": 126}}}, "severity": "ERROR"}

_If you have more feedback on OpenSearch documentation, reach out on the [_forum_](https://forum.opensearch.org/c/feedback/6), [Slack](https://opensearch.slack.com/archives/C052GAV1MQF), or [enter an issue](https://github.com/opensearch-project/documentation-website/issues/new/choose) in the documentation-website repo. We also welcome you to contribute your thoughts on the recently published [OpenSearch Documentation Strategy](https://github.com/opensearch-project/documentation-website/issues/7189)._
_If you have more feedback on OpenSearch documentation, reach out on the [forum](https://forum.opensearch.org/c/feedback/6), [Slack](https://opensearch.slack.com/archives/C052GAV1MQF), or [enter an issue](https://github.com/opensearch-project/documentation-website/issues/new/choose) in the documentation-website repo. We also welcome you to contribute your thoughts on the recently published [OpenSearch Documentation Strategy](https://github.com/opensearch-project/documentation-website/issues/7189)._

Thanks to the OpenSearch team for providing a great forum to connect with an incredible community. You can catch up on all the excitement in this [blog](https://opensearch.org/blog/OpenSearchCon-europe-2024-shines-in-berlin/), and I look forward to seeing everyone at [OpenSearchCon NA](https://opensearch.org/events/opensearchcon/2024/north-america/index.html)!
Thanks to the OpenSearch team for providing a great forum to connect with an incredible community. You can catch up on all the excitement in this [blog post](https://opensearch.org/blog/OpenSearchCon-europe-2024-shines-in-berlin/), and I look forward to seeing everyone at [OpenSearchCon North America](https://opensearch.org/events/opensearchcon/2024/north-america/index.html)!



0 comments on commit 9e0e99e

Please sign in to comment.