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

chore: fix some typos in comments #2195

Merged
merged 1 commit into from
Jun 12, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/docs/filters/elisp/entries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Docs
class Elisp
class EntriesFilter < Docs::EntriesFilter
def get_name
# remove numbers at the beginnig
# remove numbers at the beginning
name = at_css('.chapter', '.section', '.subsection', '.subsubsection', '.appendix').content.slice(/[[:alpha:]]...*/)

# remove 'Appendix' word
Expand Down
2 changes: 1 addition & 1 deletion lib/docs/filters/gtk/entries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class EntriesFilter < Docs::EntriesFilter
# The GTK documentation paths are "flat" and while the contents of each
# page provides a way to determine the direct parent relationship, we
# really need a full hierarchy of pages *a priori* to be able to fully
# categorize all pages and entries. So we're going to recursivly generate
# categorize all pages and entries. So we're going to recursively generate
# a full map of page -> parent relationships from the table of contents...
PARENT_BY_PATH = {}

Expand Down
2 changes: 1 addition & 1 deletion lib/docs/filters/kubectl/entries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def additional_entries
group = 'kubectl'
commands = css('h1').to_a()
commands.map do |node|
# handle titles differnetly by converting them into sidebar groups (types)
# handle titles differently by converting them into sidebar groups (types)
new_group = at_css("##{node['id']} > strong")
if new_group
group = new_group.content.titleize
Expand Down