Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#356 #365

Merged
merged 3 commits into from
Jan 14, 2025
Merged

#356 #365

merged 3 commits into from
Jan 14, 2025

Conversation

challfry
Copy link
Collaborator

Adds a Markdown file for the cruise FAQ. And, there is now a common method for displaying styled Markdown in a page with the site header. The cruise FAQ, About Twitarr, and Code Of Conduct pages all use this method. We previously had checked in a Markdown version of the CoC, but weren't using it to render the page.

Previously, the CoC render parsed the oddly-formatted JSON file; I believe "codeofconduct.json" is no longer used by Swiftarr. Keeping the file in place as it's in /public and clients may still try to access it. However, the JSON file should be considered deprecated and we should try to remove it in the future.

Failable initializers are weird.
Adds a Markdown file for the cruise FAQ. And, there is now a common method for displaying styled Markdown in a page with the site header. The cruise FAQ, About Twitarr, and Code Of Conduct pages all use this method. We previously had checked in a Markdown version of the CoC, but weren't using it to render the page.

Previously, the CoC render parsed the oddly-formatted JSON file; I believe "codeofconduct.json" is no longer used by Swiftarr. Keeping the file in place as it's in /public and clients may still try to access it. However, the JSON file should be considered deprecated and we should try to remove it in the future.
@cohoe
Copy link
Member

cohoe commented Jan 14, 2025

Tricordarr grabs the json file directly to render locally. I can process Markdown too, as long as it's consistently at a similar path (which it seems to be).

@cohoe
Copy link
Member

cohoe commented Jan 14, 2025

I'm fine with nuking the coc json now

@challfry challfry merged commit a20089c into master Jan 14, 2025
3 checks passed
@challfry challfry deleted the #356 branch January 20, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants