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

add documentation for how to create a FAQ #546

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haroon10725
Copy link
Contributor

@pikurasa Can you please review it.

@therealharshit
Copy link
Contributor

@haroon10725 looks good, thanks.

Copy link
Contributor

@pikurasa pikurasa left a comment

Choose a reason for hiding this comment

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

Please address my review feedback.


2. **Create a New Markdown File:**
* Create a new file in the _faqs folder.
Copy link
Contributor

Choose a reason for hiding this comment

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

You should also indicate that you must append with .md.

As for prepending with Q1, Q2, Q3, I'm unsure if we really want to keep them numbered as they are now. We may need to shuffle the order later. We should think more about that.

Copy link
Contributor

Choose a reason for hiding this comment

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

For example, we may want to organize by topic, if these files can include multiple questions.

Copy link
Contributor Author

@haroon10725 haroon10725 Nov 13, 2024

Choose a reason for hiding this comment

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

@pikurasa I think we can remove them, as we are not rendering these numbers to display on website. The numbers that are being rendered are coming from ordered list "ol" in FAQ.html.


4. **Save and Preview:**
* Save the file, then run `jekyll serve` in your terminal to start the local server. Visit `http://localhost:4000` to preview your FAQ.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want to point to the instructions in the README file that indicate how to run and test a server.: https://github.com/sugarlabs/www?tab=readme-ov-file#running

That way, if our instructions change, we don't need to change them in two places.

What we may want to do, however, is update the "Running" section to indicate that jekyll serve (without incremental" is a good way to force new post pages in FAQ, blog, news, and events to build.

Copy link
Contributor Author

@haroon10725 haroon10725 Nov 13, 2024

Choose a reason for hiding this comment

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

Then i think, we should change our README file also. As there is no command of "jekyll serve" mentioned in it.

Copy link
Contributor

@pikurasa pikurasa Nov 13, 2024

Choose a reason for hiding this comment

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

You can add to our readme something to the effect of:
jekyll serve: Rebuilds the entire website from scratch each time.
bundle exec jekyll serve --incremental: Only regenerates changed files since the last build, making development faster and more efficient but does not render posts (i.e. FAQ, blog, news, and events).

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