Skip to content

Move code of conduct and discord guidelines docs into the website#389

Merged
sarah-fflow merged 9 commits intomainfrom
384-move-code-of-conduct-and-discord-guidelines-docs-into-the-website
Feb 23, 2026
Merged

Move code of conduct and discord guidelines docs into the website#389
sarah-fflow merged 9 commits intomainfrom
384-move-code-of-conduct-and-discord-guidelines-docs-into-the-website

Conversation

@fatmahussein
Copy link
Collaborator

@fatmahussein fatmahussein commented Feb 18, 2026

Summary:
This PR introduces Markdown page support for the WNB.rb website including styling, routing and behavior improvements for external links. It replaces Google Doc redirects for the Code of Conduct and Discord Guidelines with self-hosted Markdown pages.

Changes Include

  1. PagesController
  • Added PagesController#show to render Markdown files from app/content.
  • Introduced HTMLWithBlankLinks class so all Markdown links open in a new tab.
  • Uses Redcarpet gem for Markdown rendering with safe HTML filtering.
  1. Routing
  • Updated /code-of-conduct and /discord-guidelines routes to use the Markdown pages.
  • Defaults now point to respective Markdown files (code_of_conduct.md, discord_guidelines.md).
  1. Markdown Styling
  • Added markdown.scss to style headers, paragraphs, lists, images and links.

@sarah-fflow sarah-fflow force-pushed the 384-move-code-of-conduct-and-discord-guidelines-docs-into-the-website branch from c6d9ddf to e82a90d Compare February 23, 2026 13:56
@sarah-fflow sarah-fflow merged commit 5ab5e7c into main Feb 23, 2026
7 checks passed
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.

Move Code of Conduct and Discord Guidelines docs into the website

2 participants