mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update Erlang documentation (19.1, 18.3)
This commit is contained in:
parent
6fdf81e649
commit
d42f30c86a
2 changed files with 4 additions and 1 deletions
|
@ -4,10 +4,13 @@ module Docs
|
|||
def get_name
|
||||
name = at_css('h1').content.strip
|
||||
name << " (#{type.remove('Guide: ')})" if name == '1 Introduction'
|
||||
name.sub! %r{\A(\d+)}, '\1.'
|
||||
name
|
||||
end
|
||||
|
||||
def get_type
|
||||
name = at_css('h1').content.strip
|
||||
|
||||
if subpath.start_with?('lib/')
|
||||
type = subpath[/lib\/(.+?)[\-\/]/, 1]
|
||||
type << "/#{name}" if type == 'stdlib' && entry_nodes.length >= 10
|
||||
|
|
|
@ -41,7 +41,7 @@ module Docs
|
|||
HTML
|
||||
|
||||
version '19' do
|
||||
self.release = '19.0'
|
||||
self.release = '19.1'
|
||||
self.dir = '/Users/Thibaut/DevDocs/Docs/Erlang19'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue