|
|
@ -17,29 +17,23 @@ module Docs
|
|
|
|
options[:skip_link] = ->(link) { link['href'] =~ /[\?&]order/ }
|
|
|
|
options[:skip_link] = ->(link) { link['href'] =~ /[\?&]order/ }
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [
|
|
|
|
options[:skip_patterns] = [
|
|
|
|
|
|
|
|
/test/i,
|
|
|
|
|
|
|
|
/_update_[0-9]{4}/,
|
|
|
|
/\/group\/updates\-\d/,
|
|
|
|
/\/group\/updates\-\d/,
|
|
|
|
/_update_[0-9]{4}/, # Skip update functions
|
|
|
|
/interface\/implements/,
|
|
|
|
/\/class\/hierarchy\//, # Skip class hierarchy listings
|
|
|
|
/\/(class|interface|trait)\/hierarchy\//,
|
|
|
|
/\/function\/calls\//, # Skip function calls listings
|
|
|
|
/\/(class|interface|trait)\/uses\//,
|
|
|
|
/\/function\/invokes\//, # Skip function invokations listings
|
|
|
|
/\/(class|interface|trait)\/references\//,
|
|
|
|
/\/function\/overrides\//, # Skip function overrides listings
|
|
|
|
/\/(class|interface|trait)\/annotations\//,
|
|
|
|
/\/function\/references\//, # Skip function references listings
|
|
|
|
/\/function\/calls\//,
|
|
|
|
/\/function\/implementations\//, # Skip hook implementation listings
|
|
|
|
/\/function\/invokes\//,
|
|
|
|
/\/function\/theme_references\//, # Skip hook references listings
|
|
|
|
/\/function\/overrides\//,
|
|
|
|
/\.test\//, # Skip test files
|
|
|
|
/\/function\/references\//,
|
|
|
|
/_test\//, # Skip test files
|
|
|
|
/\/function\/implementations\//,
|
|
|
|
/\.test\.module\//, # Skip test files
|
|
|
|
/\/function\/theme_references\//,
|
|
|
|
/_test\.module\//, # Skip test files
|
|
|
|
|
|
|
|
/_test_/, # Skip test files
|
|
|
|
|
|
|
|
/_test\./, # Skip test files
|
|
|
|
|
|
|
|
/tests/,
|
|
|
|
|
|
|
|
/testing/,
|
|
|
|
|
|
|
|
/upgrade/,
|
|
|
|
/upgrade/,
|
|
|
|
/DRUPAL_ROOT/,
|
|
|
|
/DRUPAL_ROOT/,
|
|
|
|
/simpletest/,
|
|
|
|
|
|
|
|
/constant\/constants/,
|
|
|
|
/constant\/constants/,
|
|
|
|
/interface\/implements/,
|
|
|
|
|
|
|
|
/interface\/hierarchy/,
|
|
|
|
|
|
|
|
/theme_invokes/
|
|
|
|
/theme_invokes/
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
@ -49,6 +43,43 @@ module Docs
|
|
|
|
Drupal is a registered trademark of Dries Buytaert.
|
|
|
|
Drupal is a registered trademark of Dries Buytaert.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '8' do
|
|
|
|
|
|
|
|
self.release = '8.1.7'
|
|
|
|
|
|
|
|
self.root_path = '8.1.x'
|
|
|
|
|
|
|
|
self.initial_paths = %w(groups/8.1.x groups/8.1.x?page=1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:only_patterns] = [
|
|
|
|
|
|
|
|
/\/class\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/group\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/function\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/constant\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/interface\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/property\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/global\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\/trait\/[^\/]+\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/modules.*\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/includes.*\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\A[\w\-\.]+\.php\/8\.1\.x\z/
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip] = %w(index.php/8.1.x update.php/8.1.x)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] += [
|
|
|
|
|
|
|
|
/[^\w\-\.].*\.php\/8\.1\.x\z/,
|
|
|
|
|
|
|
|
/\!src\!/,
|
|
|
|
|
|
|
|
/migrate/,
|
|
|
|
|
|
|
|
/Assertion/,
|
|
|
|
|
|
|
|
/listing_page/,
|
|
|
|
|
|
|
|
/update_api/,
|
|
|
|
|
|
|
|
/vendor/,
|
|
|
|
|
|
|
|
/deprecated/,
|
|
|
|
|
|
|
|
/namespace/,
|
|
|
|
|
|
|
|
/\.yml/,
|
|
|
|
|
|
|
|
/Plugin/,
|
|
|
|
|
|
|
|
/\.theme\//
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
version '7' do
|
|
|
|
version '7' do
|
|
|
|
self.release = '7.50'
|
|
|
|
self.release = '7.50'
|
|
|
|
self.root_path = '7.x'
|
|
|
|
self.root_path = '7.x'
|
|
|
|