fix appendix references

This commit is contained in:
tnichols217 2025-09-29 11:12:14 -04:00
parent 8856decd13
commit 47d2e8cf19
9 changed files with 20 additions and 26 deletions

View File

@ -1,6 +1,4 @@
# Appendix A
## {{< var acronyms.ec >}} Interpretations
# A: {{< var acronyms.ec >}} Interpretations {.unnumbered} {#sec-art-BW7GLKA5}
1. Academic warning is treated the same way as {{< var glossary.academic-probation >}} when a brother has not had classes for a semester.
1. Standards Board does NOT need to automatically recommend a brother for suspension if said brother is brought up for standards with the possibility of suspension.

View File

@ -1,6 +1,4 @@
# Appendix B
## Standards Rulings
# B: Standards Rulings {.unnumbered} {#sec-art-W7CTO1UV}
1. September 25, 2010

View File

@ -1,5 +1,3 @@
# Appendix C
## Permanent Legislation
# C: Permanent Legislation {.unnumbered} {#sec-art-LGUUVLYZ}
1. The gargoyles on the front of the Theta Chi house at 11136 Magnolia Drive, Cleveland OH, 44106, shall be named Alphonso and Raul, with the northernmost being Raul.

View File

@ -39,18 +39,18 @@
1. This document will have the following appendices:
a. {{< var acronyms.ec >}} Interpretations
a. {{< var acronyms.ec >}} Interpretations (@sec-art-BW7GLKA5)
i. Will contain a record of {{< var acronyms.ec >}} interpretations of the local bylaws.
i. Interpretations that refer to deprecated parts of the local bylaws may be removed at the discretion of the Vice President.
i. Items may be added to this appendix by the Vice President.
a. Standards Rulings
a. Standards Rulings (@sec-art-W7CTO1UV)
i. Will contain the choice of trial and results of all Trial Hearings for the purpose of establishing precedent.
i. All parties will remain anonymous.
i. Items will be added to this appendix by the Vice President and will include the date that the decision was made.
i. Items that are over five years old may be removed at the discretion of the Vice President.
a. Permanent Legislation
a. Permanent Legislation (@sec-art-LGUUVLYZ)
i. Will contain all permanent legislation passed by the chapter.
i. Upon being passed, permanent legislation will be added to this appendix by the Vice President.
i. Permanent legislation that is revoked or amended will be removed or changed in this appendix by the Vice President.

View File

@ -111,7 +111,7 @@
a. Any member of Standards Board may recall any witnesses or the accused, if further questions arise. This may be done once per witness. To recall a witness more than once requires a unanimous vote of the voting members of Standards Board.
1. The voting members of Standards Board will then determine appropriate sanctions, if any.
a. Past judicial history of the accused and sanctions given for similar accusations in the past (as found in Appendix B) may be considered.
a. Past judicial history of the accused and sanctions given for similar accusations in the past (@sec-art-W7CTO1UV) may be considered.
a. The Vice President and {{< var glossary.chapter-advisor >}} (if one is present) may offer input to this discussion but may not vote in the final decision unless it is a tie, in which case the Vice President will vote to break the tie.
a. The voting members of Standards Board will vote on all sanctions, one at a time.
a. If the sanction being voted on is temporary suspension for any duration of time, the vote must be unanimous in the affirmative in order to succeed.

View File

@ -54,7 +54,7 @@
a. Serves as Parliamentarian for the chapter and is {{< var glossary.responsible >}} for all committees.
a. Maintains the chapter's local bylaws.
a. Ensures legislation records are up to date.
a. Adds all permanent legislation to the appropriate appendix as outlined in @sec-art-Q8OV40FK.
a. Adds all permanent legislation to the appropriate appendix (@sec-art-LGUUVLYZ) as outlined in @sec-art-Q8OV40FK.
a. Adds {{< var acronyms.ec >}} Interpretations to the Appendices.
a. Appoints active members to committees at the beginning of each semester.
a. Assigns living space as outlined in @sec-art-C89656BJ.

View File

@ -1,5 +1,5 @@
# Introductory {.unnumbered}
# Introductory {.unnumbered} {#sec-art-L9A0HXIL}
## Preamble
## Preamble {#sec-art-1QB8CIPO}
We, the Brothers of Beta Nu Chapter of Theta Chi Fraternity, in order to forge a more perfect Brotherhood, to advance our Alma Mater, to protect and promote our stated values of Truth, Temperance, and Tolerance, and to practice the ideal of the Helping Hand, do ordain and establish these Bylaws for the operations of our Chapter.

View File

@ -1,4 +1,4 @@
# References {.unnumbered}
# References {.unnumbered} {#sec-art-RL8025YZ}
::: {#refs}
:::

View File

@ -1,9 +1,9 @@
import os
from collections.abc import Iterator
import re
import random
import string
from pathlib import Path
# Constants
HEADER_PATTERN = re.compile(r'^(##? .+?)(\s*\{#.*\})?\s*$')
TAG_TEMPLATE = ' {#sec-art-%s}'
ID_LENGTH = 8
@ -11,11 +11,11 @@ ID_LENGTH = 8
def generate_id() -> str:
return ''.join(random.choices(string.ascii_uppercase + string.digits, k=ID_LENGTH))
def process_file(filepath):
def process_file(filepath: Path):
changed = False
new_lines = []
new_lines: list[str] = []
with open(filepath, 'r', encoding='utf-8') as f:
with filepath.open("r") as f:
for line in f:
match = HEADER_PATTERN.match(line)
if match:
@ -27,14 +27,14 @@ def process_file(filepath):
new_lines.append(line)
if changed:
with open(filepath, 'w', encoding='utf-8') as f:
with filepath.open("w") as f:
f.writelines(new_lines)
print(f"Updated: {filepath}")
def main():
for filename in os.listdir('.'):
if filename.endswith('.qmd'):
process_file(filename)
pathes: Iterator[Path] = Path('.').glob("**/*.qmd")
for path in pathes:
process_file(path)
if __name__ == '__main__':
main()