Skip to content

Commit

Permalink
Update Express documentation (4.21.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Feb 12, 2025
1 parent 5a129d4 commit 2499e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/docs/filters/express/clean_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Express
class CleanHtmlFilter < Filter
def call
i = 1
n = at_css("#navmenu a[href='#{result[:path].split('/').last}']").parent
n = at_css("#navmenu .submenu-content a[href='#{result[:path].split('/').last}']").parent
i += 1 while n && n = n.previous_element
at_css('h1')['data-level'] = i

Expand Down
2 changes: 1 addition & 1 deletion lib/docs/scrapers/express.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Docs
class Express < UrlScraper
self.name = 'Express'
self.type = 'express'
self.release = '4.18.1'
self.release = '4.21.2'
self.base_url = 'https://expressjs.com/en/'
self.root_path = '4x/api.html'
self.initial_paths = %w(
Expand Down

0 comments on commit 2499e17

Please sign in to comment.