Skip to content
Snippets Groups Projects
Commit b33a97f5 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3356114: Initialize Web Doc module

parent 25fdc036
No related branches found
No related tags found
No related merge requests found
Showing
with 618 additions and 0 deletions
### Problem/Motivation
#### Steps to reproduce
```
Given
When
Then
```
### Proposed resolution
### Checkpoints
- [x] File an issue
- [ ] Addition for a new supported feature
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### API changes
### Data model changes
### Release notes snippet
### Problem/Motivation
#### Steps to reproduce
```
Given
When
Then
```
### Proposed resolution
### Checkpoints
- [x] File an issue
- [ ] Change to current code or configurations
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### API changes
### Data model changes
### Release notes snippet
### Problem/Motivation
#### Steps to reproduce
```
Given
When
Then
```
### Proposed resolution
### Checkpoints
- [x] File an issue
- [ ] Add/Change/Fix Documentation
- [ ] Readability
- [ ] Accessibility
- [ ] Copywriting Review by maintainers
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### API changes
### Data model changes
### Release notes snippet
### Problem/Motivation
#### Steps to reproduce
```
Given
When
Then
```
### Proposed resolution
### Checkpoints
- [x] File an issue
- [ ] Fix bugs in code
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### API changes
### Data model changes
### Release notes snippet
### Problem/Motivation
#### Steps to reproduce
```
Given
When
Then
```
### Proposed resolution
### Checkpoints
- [x] File an issue
- [ ] Update for used third party components
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### API changes
### Data model changes
### Release notes snippet
### Checkpoints
- [x] File an issue
- [x] Addition for a new supported feature
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### Checkpoints
- [x] File an issue
- [x] Change to current code or configurations
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### Checkpoints
- [x] File an issue
- [x] Add/Change/Fix Documentation
- [ ] Readability
- [ ] Accessibility
- [ ] Copywriting Review by maintainers
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### Checkpoints
- [x] File an issue
- [x] Fix bugs in code
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
### Checkpoints
- [x] File an issue
- [x] Update for used third party components
- [ ] Testing to ensure no regression
- [ ] Automated unit testing coverage
- [ ] Automated functional testing coverage
- [ ] UX/UI designer responsibilities
- [ ] Readability
- [ ] Accessibility
- [ ] Performance
- [ ] Security
- [ ] Documentation
- [ ] Code review by maintainers
- [ ] Full testing and approval
- [ ] Credit contributors
- [ ] Review with the product owner
- [ ] Release Notes
- [ ] Release
{
"name": "drupal/webdoc",
"description": "A quick and basic setup for Web Documentation, using the Book and Layout Builder modules, to add documentation pages to the documentation section.",
"type": "drupal-module",
"homepage": "https://www.drupal.org/project/webdoc",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"authors": [
{
"name": "Webship",
"homepage": "http://webship.org",
"role": "Maintainer"
}
],
"support": {
"issues": "https://www.drupal.org/project/issues/webdoc",
"source": "http://cgit.drupalcode.org/webdoc"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
},
"require": {
"drupal/core": "~10.0"
}
}
\ No newline at end of file
langcode: en
status: true
dependencies:
config:
- field.field.node.webdoc.body
- node.type.webdoc
module:
- book
- layout_builder
- manage_display
- text
third_party_settings:
layout_builder:
enabled: true
allow_custom: false
sections:
-
layout_id: layout_twocol_section
layout_settings:
label: ''
context_mapping: { }
column_widths: 33-67
components:
fe857b03-6805-4ef3-b9c0-6313f8538ce3:
uuid: fe857b03-6805-4ef3-b9c0-6313f8538ce3
region: second
configuration:
id: 'field_block:node:webdoc:body'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
additional: { }
bf9ac121-6124-4fbb-96af-e1d4dec94ef2:
uuid: bf9ac121-6124-4fbb-96af-e1d4dec94ef2
region: first
configuration:
id: book_navigation
label: 'Book navigation'
label_display: '0'
provider: book
context_mapping: { }
block_mode: 'all pages'
weight: 0
additional: { }
third_party_settings: { }
id: node.webdoc.default
targetEntityType: node
bundle: webdoc
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
linked: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.webdoc.body
- node.type.webdoc
module:
- book
- layout_builder
- manage_display
- text
third_party_settings:
layout_builder:
enabled: true
allow_custom: false
sections:
-
layout_id: layout_twocol_section
layout_settings:
label: ''
context_mapping: { }
column_widths: 25-75
components:
cd9ceee9-2df6-41cf-a670-0ce998a02982:
uuid: cd9ceee9-2df6-41cf-a670-0ce998a02982
region: second
configuration:
id: 'field_block:node:webdoc:body'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
additional: { }
1d5d9496-858a-47da-ad5a-29ae9b3909a9:
uuid: 1d5d9496-858a-47da-ad5a-29ae9b3909a9
region: first
configuration:
id: book_navigation
label: 'Book navigation'
label_display: '0'
provider: book
context_mapping: { }
block_mode: 'all pages'
weight: 0
additional: { }
third_party_settings: { }
id: node.webdoc.full
targetEntityType: node
bundle: webdoc
mode: full
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
linked: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.webdoc.body
- node.type.webdoc
module:
- layout_builder
- layout_discovery
- manage_display
- text
third_party_settings:
layout_builder:
enabled: true
allow_custom: false
sections:
-
layout_id: layout_onecol
layout_settings:
label: ''
components:
cc259b6e-1974-4f2a-8af4-7f3387d89880:
uuid: cc259b6e-1974-4f2a-8af4-7f3387d89880
region: content
configuration:
id: 'field_block:node:webdoc:title'
label_display: '0'
context_mapping:
entity: layout_builder.entity
formatter:
type: title
label: hidden
settings:
linked: true
tag: h2
third_party_settings: { }
weight: 0
additional: { }
e66e51e2-1a08-4a48-b587-a401577f776d:
uuid: e66e51e2-1a08-4a48-b587-a401577f776d
region: content
configuration:
id: 'field_block:node:webdoc:body'
label: Body
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 300
third_party_settings: { }
weight: 2
additional: { }
third_party_settings: { }
id: node.webdoc.teaser
targetEntityType: node
bundle: webdoc
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
linked: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
uid: true
langcode: en
status: true
dependencies:
config:
- field.storage.node.body
- node.type.webdoc
module:
- text
id: node.webdoc.body
field_name: body
entity_type: node
bundle: webdoc
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
langcode: en
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: 'Web Doc'
type: webdoc
description: 'Use <em>Web Doc</em> to add documentation pages to the documentation section.'
help: ''
new_revision: true
preview_mode: 1
display_submitted: true
langcode: en
status: true
dependencies:
module:
- node
id: webdoc
label: 'Web Doc'
type: 'canonical_entities:node'
pattern: '[node:book:parents:join-path]/[node:title]'
selection_criteria:
375c6cd5-d970-4331-854d-6a1cb1554a14:
id: 'entity_bundle:node'
negate: false
uuid: 375c6cd5-d970-4331-854d-6a1cb1554a14
context_mapping:
node: node
bundles:
webdoc: webdoc
selection_logic: and
weight: -5
relationships: { }
name: Web Doc
type: module
description: 'A quick and basic setup for Web Documentation, using the Book and Layout Builder modules, to add documentation pages to the documentation section.'
core_version_requirement: ~10.0
dependencies:
- drupal:book
- drupal:node
- drupal:menu_ui
- drupal:layout_builder
- drupal:layout_discovery
- drupal:manage_display
- drupal:text
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment