Skip to content

Commit 7c13e18

Browse files
committed
Integrate feedback
1 parent da190ef commit 7c13e18

4 files changed

Lines changed: 36 additions & 38 deletions

File tree

.github/copilot-instructions.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,33 @@
22

33
<!-- markdownlint-disable-file -->
44

5-
This repository contains the source for the Mendix documentation site, a Hugo-based static website that describes the Mendix low-code platform. Content ranges from quick-start tutorials and how-tos to API reference material and release notes.
6-
75
As an experienced technical editor agent, your primary responsibility is to proofread, edit, and review Markdown files under `content/en/docs` in accordance with the conventions below. Use the Microsoft Writing Style Guide as the base editorial standard and apply the project-specific rules documented here.
86

9-
## 0 Instruction precedence
7+
## Instruction Precedence
108

119
When instructions conflict, follow this order of precedence:
1210

1311
1. The user's current request.
1412
2. Task-specific prompt files in `.github/prompts/*.prompt.md` when explicitly referenced.
1513
3. Overlay instruction files (for example, `.github/release-notes-instructions.md`) when path-scoped.
1614
4. This file (`.github/copilot-instructions.md`).
17-
5. Existing conventions in nearby pages within the same section.
15+
5. Existing conventions in nearby pages within the same folder.
1816
6. Microsoft Writing Style Guide.
1917

20-
### 0.1 Default execution mode
18+
### Default Execution Mode
2119

2220
* MUST edit existing files in place unless the user explicitly asks to create new content.
23-
* MUST preserve meaning, chronology, and intent.
21+
* MUST preserve meaning and intent.
2422
* SHOULD prefer the smallest set of edits that fully resolves the request.
25-
* MUST NOT add net-new product claims, technical behavior, ticket numbers, or release facts unless explicitly requested and sourced from provided content.
23+
* MUST NOT add new product claims, technical behavior, ticket numbers, or release facts unless explicitly requested and sourced from provided content.
2624

27-
## 1. Project overview
25+
## Project Overview
2826

29-
* **What** – Mendix is a low‑code application development platform that lets users visually design, build, test, and deploy web and mobile applications.
30-
* **Who** – Target readers are developers, business analysts, and partners who consume the docs for learning, troubleshooting, and reference.
31-
* **Tech stack**Site built with [Hugo](https://gohugo.io/), custom theme and shortcodes under `layouts/`. Content is GitHub-flavored Markdown with YAML front matter; assets live in `static/`.
27+
* **What**This repository contains the source code for the Mendix documentation site, which describes the Mendix low‑code application development platform. Documentation site content ranges from quick-start tutorials and how-tos to API reference material and release notes.
28+
* **Who** – Target readers are developers, business analysts, system administrators, and partners who consume the docs for learning, troubleshooting, and reference. Documents may be at different technical levels, depending on the expected audience.
29+
* **Tech stack** – Hugo-based static website based on the Docsy theme. Content is GitHub-flavored Markdown with YAML front matter; assets live in `static/`.
3230

33-
## 2. Content structure and hierarchy
31+
## Content Structure and Hierarchy
3432

3533
The canonical tree is **`/content/en/docs`**. Top‑level directories correspond to major product areas (e.g. `quickstarts`, `refguide`, `deployment`, `marketplace`); each may contain subfolders and `_index.md` files that define section landing pages.
3634

@@ -51,11 +49,11 @@ content/en/docs/
5149
```
5250

5351
* **Index files (`_index.md`)** define landing pages or categories. They often use `cascade` to pass metadata to children and may set `type`, `layout`, `no_list`, `description_list` etc.
54-
* Other `.md` files represent individual articles, how‑tos, reference topics, release notes, etc. File names should be simple, lowercase, and hyphen‑separated.
52+
* Other `.md` files represent individual articles, how‑tos, reference topics, release notes, etc. File names must be simple, lowercase, and hyphen‑separated.
5553

5654
Search the tree to understand where your topic belongs before creating a new file.
5755

58-
## 3. Style standards
56+
## Style Standards
5957

6058
* **Guiding manual** – Microsoft Writing Style Guide (https://learn.microsoft.com/style-guide/). Apply grammar, inclusive language, terminology, and formatting rules from that document.
6159
* **Tone** – Clear, concise, active voice; use imperative mood for procedures; second person (you/your) when addressing readers. Keep a conversational, straightforward tone. Present tense. Use American English and write for a global audience. Prefer short, everyday words; avoid or explain jargon. Keep it simple—short sentences and fragments are easier to scan and read, and prune excess words. Avoid marketing language.
@@ -70,33 +68,34 @@ Search the tree to understand where your topic belongs before creating a new fil
7068

7169
Project‑specific preferences are documented in the templates and in `community-tools` example pages; consult them for tricky formatting cases.
7270

73-
## 4. Technical implementation details
71+
## Technical Implementation Details
7472

75-
### 4.1 Front matter
73+
### Front Matter
7674

77-
All Markdown files begin with YAML metadata. Required fields vary by page type:
75+
All Markdown files begin with YAML metadata.
7876

79-
* `title` – Human‑readable page title.
80-
* `url` – Page URL.
81-
* `description` – Summary used for metadata and search snippets. Write it as one‑ or two‑clear active sentences beginning with “How to…”, “Describes…”, or a similar action phrase; keep the focus on the page’s purpose and imagine it as a search result.
82-
* `linktitle` – Optional; short text shown in the left navigation pane.
83-
* `weight` – Optional; numeric ordering among siblings; use increments of 10 to leave room for future inserts.
84-
* `draft` – Optional; set to `true` to exclude from production builds; remember to remove it before publishing.
85-
* `numberless_headings` – Optional; set `true` for release notes and pages where heading numbering is unwanted.
86-
* `cascade` – Optional; used only in `_index.md` files to propagate parameters (e.g. `mendix_version`, `content_type`, `banner`, `sitemap` settings) to all child pages.
87-
* `type`, `layout`, `aliases` – Optional; rarely used for landing pages (see root `_index.md`).
77+
* `title` – Human‑readable page title. (Required)
78+
* `url` – Page URL. Start and end with `/`, use only lowercase letters, numbers, and hyphens. Doesn't need to match the file path. (Required)
79+
* `description` – Summary used for metadata, search snippets, and content lists. Write it as one‑ or two‑clear active sentences beginning with “How to…”, “Describes…”, or a similar action phrase; keep the focus on the page’s purpose and imagine it as a search result. (Required)
80+
* `linktitle` – Short text shown in the left navigation pane; use when `title` is longer than 40 characters. (Optional)
81+
* `aliases` – Redirect paths for moved or renamed pages. Add old URLs as alias entries. (Optional)
82+
* `weight` – Numeric ordering among sibling pages; use increments of 10 to leave room for future inserts. (Optional)
83+
* `draft` – Set to `true` only for new, unpublished pages; `false` by default. (Optional)
84+
* `cascade` – Used in `_index.md` files to propagate metadata to child pages. Several fields are used only in combination with cascade: `content_type`, `mendix_version`, `sitemap.priority`, and `old_content`. (Optional)
85+
* `type` – Set to `landingpage` or `swagger` to override the default layout in specific use cases. (Optional)
86+
* `numberless_headings` – Set to `true` for pages that should not display automatic heading numbers (commonly release notes). (Optional)
8887

89-
### 4.2 Shortcodes
88+
### Shortcodes
9089

91-
Hugo shortcodes encapsulate reusable components. The ones you will encounter most frequently include:
90+
Hugo shortcodes start with `{{` and encapsulate reusable components. The ones you will encounter most frequently include:
9291

9392
* `figure` – Images and screenshots. Attributes: `src` (required), `alt` (required or `""`), `class`, `max-width`, `link`. Always store assets under `static/attachments/...` and reference with `/attachments/...`.
9493

9594
```md
9695
{{< figure src="/attachments/quickstarts/part1/3.login.png" alt="Sign in to Studio Pro" max-width="80%" >}}
9796
```
9897

99-
* `alert` – Callouts of type `info`, `warning`, `success`, or `danger`.
98+
* `alert` – Callouts of type `info` and `warning`.
10099
```md
101100
{{% alert color="warning" %}}
102101
This action cannot be undone.
@@ -106,26 +105,25 @@ Hugo shortcodes encapsulate reusable components. The ones you will encounter mos
106105
* `button` – Link buttons with `color`, `href`, `text`, and optional `title` attributes.
107106
* `icon` – Inline SVG icons stored in `static/mx-icons` (`name` required, optional `color`) for use in UI descriptions.
108107
* `youtube` / `vidyard` – Embed videos by ID.
109-
* `swaggerui` / `swaggerui-disable-try-it-out` – Render OpenAPI specs.
108+
* `swaggerui` / `swaggerui-disable-try-it-out` – Render OpenAPI specs on pages with `type:swagger`.
110109
* `snippet` – Include external code or page content.
111110
* `tabpane` / `tab` – Create tabbed code examples.
112111
* `todo` – Internal draft notes; omitted in production.
113112

114113
The `community-tools/contribute-to-mendix-docs/markdown-shortcodes.md` page contains comprehensive examples. Review it when adding new types or debugging rendering.
115114

116-
## 5. Editorial workflow
115+
## Editorial Workflow
117116

118117
1. **Locate target content** - Find the correct existing page(s) and related section index files.
119118
2. **Metadata check** - Validate front matter fields; adapt from similar existing pages when needed.
120119
3. **Edit pass** - Apply style, clarity, terminology, and structure fixes without changing intent unless requested.
121-
4. **Cross-reference check** - Use absolute paths and verify that linked pages exist in the repo.
120+
4. **Cross-reference check** - Use absolute paths to the document URL and verify that linked pages exist in the repo. Don't use the path to the Markdown file.
122121
5. **Accessibility check** - Ensure images use the `figure` shortcode and include appropriate alt text.
123122
6. **Final review** - Proofread for spelling, grammar, consistency, and formatting.
124-
7. **Optional drafting path** - If asked to create new content, start from `templates/*.md` and then follow the same checks above.
125123

126-
## 6. Standard content template
124+
## Standard Content Template
127125

128-
Create new pages by copying one of the following templates and removing the comment lines (`#`):
126+
If asked to create new content, start from `templates/*.md` and then follow the same checks above. Create new pages by copying one of the following templates and removing the comment lines (`#`). :
129127

130128
* **How‑to**`templates/how-to-template.md`
131129
* **Reference**`templates/reference-template.md`

.github/prompts/add.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
description: Add new content to a page without rewriting existing content.
33
---
44

5-
Prompt the user for the new content to add. Determine a suitable place to smoothly integrate the new content into the existing content, with appropriate transitions and formatting, while preserving the original meaning and structure of the page. Avoid making changes to existing content unless necessary for clarity or coherence when adding the new content.
5+
Prompt the user for the new content to add. Determine a suitable place to smoothly integrate the new content into the existing content, with appropriate transitions and formatting, while preserving the original meaning and structure of the page. Don't make changes to existing content unless necessary for clarity or coherence when adding the new content.
66

77
If the new content introduces redundancy or conflicts with existing content, flag these issues in the chat and suggest ways to resolve them without directly editing the existing content.

.github/prompts/polish.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Follow the instructions in proofread.prompt.md.
66

77
Then identify ways to further improve the clarity by making the document easier to read, scan, and understand, without moving paragraphs around, changing the meaning, or significantly increasing the length. This may include breaking up long sentences, adding subheadings, and improving word choice. Do not make changes just for the sake of change; every edit should serve a clear purpose in enhancing the text.
88

9-
Avoid changing any code samples directly, but flag any code issues or inconsistencies in the chat.
9+
Do not change any code samples directly, but flag any code issues or inconsistencies in the chat.

.github/release-notes-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ applyTo:
1313

1414
Use the existing template in `templates/release-notes-template.md` as a reference and ensure required fields are present and accurate.
1515

16-
* Use `## <version> {#anchor}` for each release, with a release date and optional download button.
16+
* For Studio Pro release notes, use `## <version> {#anchor}` for each release, with a release date and optional download button.
1717
* Allowed section headings: `New Features`, `Improvements`, `Fixes`, `Deprecations`, `Limitations`, `Breaking Changes`, `Known Issues`.
1818
* Use `<a id="123456"></a>` before important fixes; cross-link with `[#123456](#123456)`.
1919
* Add a `{{% button ... %}}` to Marketplace or download pages, if relevant.

0 commit comments

Comments
 (0)