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

Proof Of Concept: Store quizzes in Markdown files #157

Open
15 tasks
pfwd opened this issue Oct 20, 2022 · 0 comments · May be fixed by #161
Open
15 tasks

Proof Of Concept: Store quizzes in Markdown files #157

pfwd opened this issue Oct 20, 2022 · 0 comments · May be fixed by #161
Assignees
Labels
api client Any thing to do with the API Client api Anything to do with the API documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@pfwd
Copy link
Contributor

pfwd commented Oct 20, 2022

Build a proof of concept that replaces the PHP fixture files as Markdown files.

The following tasks are subject to change

Markdown work:

  • Create a /quizzes folder
  • Create a /quizzes/<quiz_name> folder
  • Create a markdown file per question in /quizzes/<quiz_name>/1.md
  • Include the following as frontmatter
    • Question number
  • Add the possible answers as markdown check boxes
  • Add the question as a markdown paragraph
  • Add the answer as detail summary HTML elements

PHP work:

  • Install parsedown
  • Create a Symfony command that reads the markdown files in the /quizzes/<quiz_name> and adds them to the database
  • Create a Symfony command that refreshes the database
  • Remove fixture files
  • Remove Doctrine fixtures bundle

General work:

  • Update documendation
  • Update github workflow
@pfwd pfwd self-assigned this Oct 20, 2022
@pfwd pfwd added this to the Project setup milestone Oct 20, 2022
pfwd added a commit that referenced this issue Oct 21, 2022
@pfwd pfwd linked a pull request Oct 23, 2022 that will close this issue
6 tasks
pfwd added a commit that referenced this issue Oct 23, 2022
pfwd added a commit that referenced this issue Oct 23, 2022
pfwd added a commit that referenced this issue Oct 23, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 6, 2022
pfwd added a commit that referenced this issue Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api client Any thing to do with the API Client api Anything to do with the API documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant