# configuration/constants/document.constants.ts

> 15 lines of code and 11 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-configuration-constants-document-constants-ts
Source text: https://banes-lab.com/assets/sources/source.aafd8e926114c1b8f81f3bfe4a70b4492b9ba84ad7f42f421b119615dc8ca3ca.generated.txt

## Definitions

- `ANCHOR_PREFIX` (lexical_declaration, line 1, exported)
- `SPACE` (lexical_declaration, line 3, exported)
- `SUMMARY_LENGTH` (lexical_declaration, line 5, exported)
- `IGNORED_SELECTORS` (lexical_declaration, line 7, exported)
- `EXPORT_IGNORED_SELECTORS` (lexical_declaration, line 9, exported)
- `ROBOTS_INDEX` (lexical_declaration, line 15, exported)
- `ROBOTS_NOINDEX` (lexical_declaration, line 17, exported)
- `OPEN_GRAPH_WEBSITE` (lexical_declaration, line 19, exported)
- `OPEN_GRAPH_ARTICLE` (lexical_declaration, line 21, exported)
- `STATIC_RENDER_ATTRIBUTE` (lexical_declaration, line 23, exported)
- `SETTLED_TEXT_ATTRIBUTE` (lexical_declaration, line 25, exported)

## Source

```typescript
export const ANCHOR_PREFIX = "#";

export const SPACE = " ";

export const SUMMARY_LENGTH = 160;

export const IGNORED_SELECTORS: readonly string[] = [".copy-button", ".subsection-symbol", ".visually-hidden"];

export const EXPORT_IGNORED_SELECTORS: readonly string[] = [
    ...IGNORED_SELECTORS,
    ".tab-anchor:not(.search-anchor)",
    ".walk-status",
];

export const ROBOTS_INDEX = "index, follow";

export const ROBOTS_NOINDEX = "noindex, nofollow";

export const OPEN_GRAPH_WEBSITE = "website";

export const OPEN_GRAPH_ARTICLE = "article";

export const STATIC_RENDER_ATTRIBUTE = "data-static-render";

export const SETTLED_TEXT_ATTRIBUTE = "data-settled-text";
```
