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

New documentation from TPRF grant #1721

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open

Conversation

cromedome
Copy link
Contributor

This is the result of a TPRF grant for rewriting the Dancer2 documentation. Highlights include:

  • New documentation overview
  • New quickstart guide
  • New core manual (Dancer2::Manual)
  • Moved supporting documentation into the Dancer2::Manual:: namespace
  • Updated cookbook
  • Updated deployment guide
  • New tutorial and sample app

This list is non-exhaustive. I relentlessly cut content out from the old manual; some of it outdated, some of it unnecessary. Hopefully I didn't get too overly aggressive.

I squashed about 40 commits already. If anyone would like me to squash this further, just say the word.

Thanks to Sawyer for being my grant manager on this!

Jason A. Crome and others added 30 commits December 9, 2024 11:38
Some minor cleanup, and the start of some better structure to the core
of the manual.
This iteration uses a simple question and answer format to help users
both new and old find the correct answers to the questions they have.
We have discouraged the use of the dance keyword for some time; our most
basic example should not feature it.
Right now, this is just the installation instructions ripped from the
manual, with notes on what else to do.
Next up: introducing core concepts through the Danceyland example.
All of these items are subsections of the manual, and as such, should be
namespaced properly.
This info belongs in the Deployment section of the manual; having it in
the core of the manual doesn't make sense.
This is step one in presenting certain topics to developers as more
advanced dance moves. There is more rewriting and restructuring to do
here.
Still a few TODO items to resolve.
cromedome and others added 28 commits February 15, 2025 21:23
All keywords should be documented now; t/dsl/pod.t is now passing. A lot
of copy has been reviewed and edited, and most TODO items removed.

This needs one final editing pass, and to finish linking keywords to
where they appear in the manual.
Reduced the scope of the tutorial; the goal is to help accomplish
something in a short amount of time, not to be something production
ready. To that end, the relentless removal of content continues.

Updated "Where to Go from Here" to match some of the changes recently
made to tutorial code. This guide diverges from the current state of
tutorial code, however, and needs to be updated to reflect that.
Replaced usage of Dancer2::Plugin::Database with a DBIx::Class based
example. Restructured parts of the tutorial to fit this change
accordingly.
Originally we were using sessions to pass messages between routes across
requests. Removing that as I don't think it adds much to the tutorial; I
think dealing with sessions in the context of authentication is good
enough.
Keywords are linked back to where they appear in the Dancer2 manual, and
keywords link to related keywords within the keyword document.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant