Project Documentation

by Gisle Hannemyr

TBA

Table of contents

Drupal extensions discussed in this chapter: Project Documentation.

Introduction

The D7 version of this module is a features export of the GUI created content type "Project documentation". See README.md for Fields created.

When updating, to get back to packaged View use: "Revert".

Main settings

Name:
Project documentation
Description
Content type to record project name, who installed it, when, why, and its install-status.

Fields

Two pre-existing fields are appropriated and used:

Four additional fields are created:

Manage display

Order of fields:

  1. Why.
  2. Link.
  3. Shortname.
  4. Who.
  5. Date.
  6. Status.

Permisions for Content editor:

THe exported configuration consists of the following files:

node.type.projectdocumentation.yml

core.base_field_override.node.projectdocumentation.promote.yml
core.base_field_override.node.projectdocumentation.title.yml

core.entity_form_display.node.projectdocumentation.default.yml

core.entity_view_display.node.projectdocumentation.default.yml
core.entity_view_display.node.projectdocumentation.teaser.yml

field.field.node.projectdocumentation.body.yml
field.field.node.projectdocumentation.field_projdoc_dateinst.yml
field.field.node.projectdocumentation.field_projdoc_projectpage.yml
field.field.node.projectdocumentation.field_projdoc_shortname.yml
field.field.node.projectdocumentation.field_projdoc_who.yml

field.storage.node.field_projdoc_dateinst.yml
field.storage.node.field_projdoc_projectpage.yml
field.storage.node.field_projdoc_shortname.yml
field.storage.node.field_projdoc_who.yml

noteAll new fields (i.e. all except "body") also need to have a .yml-file for storage. Missing ones will prevent installation due to "unmet dependencies".

ToDo (D7)

Final word

Sample content:

https://www.drupal.org/project/devel
For debugging. Disable on a production site.

https://www.drupal.org/project/advanced_help
I always use this project.

https://www.drupal.org/project/mothermayi
To stop spambots from registering.

PVN customizations [No link to Drupal.org or shortname]
Customizations for PVN.

<ul>
<li>Fiddle Twilio field.</li>
<li>Hide remove button for attachments for non-admin.</li>
</ul>

Some legacy pages/extensions that provide information about a website:


Last update: 2022-07-15 [gh].