You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/rest_framework.rb

27 lines
711 B

module Docs
class RestFramework < Mkdocs
self.name = 'Django REST Framework'
self.release = '3.9.2'
self.slug = 'rest_framework'
self.type = 'mkdocs'
self.base_url = 'https://www.django-rest-framework.org/'
self.root_path = 'index.html'
self.links = {
home: 'https://www.django-rest-framework.org/',
code: 'https://github.com/encode/django-rest-framework'
}
html_filters.push 'rest_framework/clean_html', 'rest_framework/entries'
options[:skip_patterns] = [
/\Atopics\//,
/\Acommunity\//,
]
options[:attribution] = <<-HTML
Copyright 2011&ndash;present Encode OSS Ltd<br>
Licensed under the BSD License.
HTML
end
end