Skip to content

Adding a content style guide page - #191

Open
Amazinite wants to merge 11 commits into
endless-sky:masterfrom
Amazinite:content-style-guide
Open

Adding a content style guide page#191
Amazinite wants to merge 11 commits into
endless-sky:masterfrom
Amazinite:content-style-guide

Conversation

@Amazinite

Copy link
Copy Markdown
Contributor

Started work on a content style guide. This is not exhaustive or complete in any way, and what is here is open for discussion. This is just what I could come up with off the top of my head over the course of about an hour and a half. I stopped when I got bored.

This is a pre-requisite for endless-sky/endless-sky#9834.

Comment thread wiki/Content-Style-Guide.md Outdated
@Amazinite

Copy link
Copy Markdown
Contributor Author

This should include something about logs being in first person without using first person pronouns.

@TheGiraffe3 TheGiraffe3 added the enhancement Adding documentation about a new feature being PR'd to endless-sky/endless-sky label Nov 25, 2025
Comment thread wiki/Content-Style-Guide.md
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
@mOctave

mOctave commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

I believe @bene-dictator was also working on a Google doc style guide a while ago, might be useful

@Amazinite

Copy link
Copy Markdown
Contributor Author

Yeah, I remember seeing something about that, and I tried to look for it, but I couldn't find it, so I just started from scratch.

@bene-dictator

Copy link
Copy Markdown
Member

This is my style guide, if it's of any use. It'll be a bit outdated: https://docs.google.com/document/d/1QTrh2HnSHH-iAwXCp7Xpb6h16Q5PLiohoaUZsM03Fd4/edit?usp=sharing

@Amazinite

Copy link
Copy Markdown
Contributor Author

I'll see if there's anything I missed that you covered that I can copy into here.

@Amazinite

Amazinite commented Dec 9, 2025

Copy link
Copy Markdown
Contributor Author

Add spaces between labels in conversations so the mission can be read more easily. (This is something I do, but it appears most people don't do this.)

@bene-dictator I honestly space conversations based on vibes. Spacing before every label often feels like too much, while not having any extra spacing within a conversation can feel claustrophobic, especially for larger conversations. I'm not really sure how to cover spacing within conversations here.

I think I added everything else that you covered that I hadn't.

Comment thread wiki/Home.md
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Consider the following example:
```html
mission "Example Mission"
description `Destroy the "Test Dummy."`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't we normally want to use <npc> here?

Comment thread wiki/Content-Style-Guide.md Outdated
```

In this mission, each token would fall into the three categories as follows:
1. Engine keywords: `mission`, `source`, `attributes`, `npc`, `personality` `government` `ship`. These are all roots of particular objects in the game. `mission` is the root of a [Mission](CreatingMissions), `source` of a [LocationFilter](LocationFilters), `npc` of an [NPC](CreatingMissions#non-player-characters-npcs), etc.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the description?

Comment thread wiki/Content-Style-Guide.md Outdated

# Missions

The identifiers for missions should generally be defined in the following format: `<storyline>: <arc> <part>`. For example, the mission `"Wanderers: Unfettered Diplomacy 1"` is part 1 of the Unfettered Diplomacy arc in the Wanderers storyline. Sometimes, the "arc" is a single mission long, in which case the "part" number should omitted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should mention how some missions use the <storyline> <arc> <part> format (and human missions often just do <arc>).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted at the top of the page:

Note that many of these style requirements have been developed over the years, so not all of the game's content may adhere to this guide 100%.

The goal of this guide isn't just to say what we already do, but also solidify what we should be doing going forward.

Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
@roadrunner56
roadrunner56 self-requested a review December 13, 2025 19:35
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md Outdated
Comment thread wiki/Content-Style-Guide.md
Comment thread wiki/Content-Style-Guide.md Outdated

# Missions

The identifiers for missions should generally be defined in the following format: `<storyline>: <arc> <part>`. For example, the mission `"Wanderers: Unfettered Diplomacy 1"` is part 1 of the Unfettered Diplomacy arc in the Wanderers storyline. Sometimes, the "arc" is a single mission long, in which case the "part" number should omitted.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted at the top of the page:

Note that many of these style requirements have been developed over the years, so not all of the game's content may adhere to this guide 100%.

The goal of this guide isn't just to say what we already do, but also solidify what we should be doing going forward.

Comment thread wiki/Content-Style-Guide.md Outdated
Co-authored-by: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com>

Similar to the [C++ style guide](C++-Style-Guide), this page acts as a style guide for all of the game's content (i.e. anything defined in the game's [data format](DataFormat)). For specifics on how different data nodes behave in the game, see the other pages in the wiki relevant to those nodes. The purpose of this page is to define how data should be laid out stylistically so as to improve readability and maintainability of all contributed content.

Note that many of these style requirements have been developed over the years, so not all of the game's content may adhere to this guide 100%.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note that many of these style requirements have been developed over the years, so not all of the game's content may adhere to this guide 100%.
Note that many of these style requirements have been developed over the years, so not all of the game's existing content necessarily adheres to this guide 100%.

`ship` `Sparrow` `Test Dummy`
```

The additional quotation marks everywhere makes such a mission unnecessarily visually busy. There is also a question of whether to use single-quotes or double-quoets for quotations inside of a token. (i.e. `'Test Dummy'` vs `"Test Dummy"`).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The additional quotation marks everywhere makes such a mission unnecessarily visually busy. There is also a question of whether to use single-quotes or double-quoets for quotations inside of a token. (i.e. `'Test Dummy'` vs `"Test Dummy"`).
The additional quotation marks everywhere makes such a mission unnecessarily visually busy. There is also a question of whether to use single-quotes or double-quotes for quotations inside of a token. (i.e. `'Test Dummy'` vs `"Test Dummy"`).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Adding documentation about a new feature being PR'd to endless-sky/endless-sky

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants