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

Bump Obs Guide chunk level #3045

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ contents:
branches: [ {main: master}, 8.15, 8.14, 8.13, 8.12, 8.11, 8.10, 8.9, 8.8, 8.7, 8.6, 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9 ]
live: *stacklive
index: docs/en/observability/index.asciidoc
chunk: 3
chunk: 4
tags: Observability/Guide
subject: Observability
sources:
Expand Down
2 changes: 1 addition & 1 deletion doc_build_aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ alias docbldeesr='$GIT_HOME/docs/build_docs --doc $GIT_HOME/enterprise-search-ru
alias docbldewsn='$GIT_HOME/docs/build_docs --doc $GIT_HOME/enterprise-search-pubs/client-docs/workplace-search-node/index.asciidoc --single'

# Observability Guide 8.8 and later
alias docbldob='$GIT_HOME/docs/build_docs --doc $GIT_HOME/observability-docs/docs/en/observability/index.asciidoc --chunk 3 --resource $GIT_HOME/apm-server --resource=$GIT_HOME/ingest-docs/docs'
alias docbldob='$GIT_HOME/docs/build_docs --doc $GIT_HOME/observability-docs/docs/en/observability/index.asciidoc --chunk 4 --resource $GIT_HOME/apm-server --resource=$GIT_HOME/ingest-docs/docs'

# Observability Guide 8.7 and earlier
alias docbldobold='$GIT_HOME/docs/build_docs --doc $GIT_HOME/observability-docs/docs/en/observability/index.asciidoc --chunk 2 --resource $GIT_HOME/beats/libbeat/docs --resource $GIT_HOME/apm-server/docs/guide --resource=$GIT_HOME/ingest-docs/docs'
Expand Down
2 changes: 1 addition & 1 deletion resources/web/docs_js/index-v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ $(function() {
AlternativeSwitcher(store());

// Get all headings inside the main body of the doc
const allHeadings = $('div#content').find('h1,h2,h3,h4,h5,h6')
const allHeadings = $('div#content').find('h1,h2,h3,h4,h5,h6,h7')
let allLevels = []
// Create a list of all heading levels used on the page
allHeadings.each(function(index) {
Expand Down
5 changes: 5 additions & 0 deletions resources/web/style/heading.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
margin: 16px 0 5px;
}

/** I _think_ h7 is not technically valid HTML tag, but in the event that the nesting is deep enough we can at least bold the text */
dedemorton marked this conversation as resolved.
Show resolved Hide resolved
h7 {
font-weight: 600;
}

/* Points folks to "edit" pages in github so they can contribute
* to the docs! */
.edit_me {
Expand Down