---
name: "dh_nodejs_autodocs"
section: "1p"
platform: "linux"
package: "dh-nodejs"
version: "0.15.23"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_nodejs_autodocs"
---

# dh\_nodejs\_autodocs(1p)

automatically install components doc files

## NAME

dh\_nodejs\_autodocs - automatically install components doc files

## SYNOPSIS

```
  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs
```

For multiple binary packages:

```
  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs node-foo
```

Or best:

```
  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs auto_dispatch
```

## DESCRIPTION

dh\_nodejs\_autodocs automatically install README.md, CONTRIBUTING.md,... for each root component in its `"/usr/share/doc/node-name"` directory.

If no `"debian/*docs"` is found, it does the same for the main component.

### Multiple binary package

- •

  If no argument is given, dh\_nodejs\_autodocs installs the whole auto-selected documentation in the binary package which name starts with "node-". If none exists or if there is more than one, it fails.

- •

  If dh\_nodejs\_autodocs is launched with **auto\_dispatch**, it dispatches auto-selected doc in related binary packages.

- •

  If dh\_nodejs\_autodocs is launched with a binary package name, it installs the whole auto-selected doc in it.

## COPYRIGHT AND LICENSE

Copyright Yadd \<yadd@debian.org\>

Licensed under GPL-2+ (see /usr/share/common-licenses/GPL-2)
