Skip to content

Commit ba5e944

Browse files
committed
chore: fix some typos in comments
Signed-off-by: fanqiaojun <[email protected]>
1 parent 66dd20d commit ba5e944

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/docs/filters/elisp/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Elisp
33
class EntriesFilter < Docs::EntriesFilter
44
def get_name
5-
# remove numbers at the beginnig
5+
# remove numbers at the beginning
66
name = at_css('.chapter', '.section', '.subsection', '.subsubsection', '.appendix').content.slice(/[[:alpha:]]...*/)
77

88
# remove 'Appendix' word

lib/docs/filters/gtk/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class EntriesFilter < Docs::EntriesFilter
44
# The GTK documentation paths are "flat" and while the contents of each
55
# page provides a way to determine the direct parent relationship, we
66
# really need a full hierarchy of pages *a priori* to be able to fully
7-
# categorize all pages and entries. So we're going to recursivly generate
7+
# categorize all pages and entries. So we're going to recursively generate
88
# a full map of page -> parent relationships from the table of contents...
99
PARENT_BY_PATH = {}
1010

lib/docs/filters/kubectl/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def additional_entries
1515
group = 'kubectl'
1616
commands = css('h1').to_a()
1717
commands.map do |node|
18-
# handle titles differnetly by converting them into sidebar groups (types)
18+
# handle titles differently by converting them into sidebar groups (types)
1919
new_group = at_css("##{node['id']} > strong")
2020
if new_group
2121
group = new_group.content.titleize

0 commit comments

Comments
 (0)