Skip to content

Commit 554fd23

Browse files
committed
Fix broken link and typos in docs
1 parent 77abbf2 commit 554fd23

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎docs/file-scrapers.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mv man7.org/linux/man-pages/ docs/man/
6767

6868
## OpenJDK
6969
Search 'Openjdk' in https://www.debian.org/distrib/packages, find the `openjdk-$VERSION-doc` package,
70-
download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/openjdk-16-jre-headless/api/`
70+
download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/openjdk-$VERSION-jre-headless/api/`
7171
to `path/to/devdocs/docs/openjdk~$VERSION`
7272

7373
```sh
@@ -82,7 +82,7 @@ If you use or have access to a Debian-based GNU/Linux distribution you can run t
8282
apt download openjdk-$VERSION-doc
8383
dpkg -x $PACKAGE ./
8484
# previous command makes a directory called 'usr' in the current directory
85-
mv ./usr/share/doc/openjdk-16-jre-headless/api/ docs/openjdk~$VERSION
85+
mv ./usr/share/doc/openjdk-$VERSION-jre-headless/api/ docs/openjdk~$VERSION
8686
```
8787

8888
## R

‎docs/scraper-reference.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Each scraper has two [filter](https://github.com/freeCodeCamp/devdocs/blob/main/
8787

8888
HTML filters are executed first and manipulate a parsed version of the document (a [Nokogiri](http://nokogiri.org/Nokogiri/XML/Node.html) node object), whereas text filters manipulate the document as a string. This separation avoids parsing the document multiple times.
8989

90-
Filter stacks are like sorted sets. They can modified using the following methods:
90+
Filter stacks are like sorted sets. They can be modified using the following methods:
9191

9292
```ruby
9393
push(*names) # append one or more filters at the end
@@ -189,7 +189,7 @@ More information about how filters work is available on the [Filter Reference](.
189189

190190
### Processing responses before filters
191191

192-
These methods are runned before filter stacks, and can directly process responses.
192+
These methods are run before filter stacks, and can directly process responses.
193193

194194
* `process_response?(response)`
195195

@@ -204,7 +204,7 @@ These methods are runned before filter stacks, and can directly process response
204204

205205
Parse HTTP/File response, and convert to a Nokogiri document by default.
206206

207-
Overrides this method if you want to modified HTML source code before Nokogiri.
207+
Overrides this method if you want to modify HTML source code before Nokogiri.
208208
It is useful to preserve whitespaces of code segments within non-pre blocks, because Nokogiri may delete them.
209209

210210
Example: [lib/docs/scrapers/go.rb](../lib/docs/scrapers/go.rb)
@@ -284,7 +284,7 @@ To make life easier, there are a few utility methods that you can use in `get_la
284284

285285
Returns the contents of the requested file in the default branch of the given repository.
286286

287-
Example: [lib/docs/scrapers/minitest.rb](../lib/docs/scrapers/minitest.rb)
287+
Example: [lib/docs/scrapers/rdoc/minitest.rb](../lib/docs/scrapers/rdoc/minitest.rb)
288288
* `get_latest_github_commit_date(owner, repo, opts)`
289289

290290
Returns the date of the most recent commit in the default branch of the given repository.

0 commit comments

Comments
 (0)