Skip to content

New documentation from TPRF grant#1721

Closed
cromedome wants to merge 78 commits intomainfrom
docs/doc-grant-release
Closed

New documentation from TPRF grant#1721
cromedome wants to merge 78 commits intomainfrom
docs/doc-grant-release

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!

Copy link
Contributor

@yanick yanick left a comment

Choose a reason for hiding this comment

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

There is my comments here, and the PR for the example, but it looks good! \o/

@cromedome
Copy link
Contributor Author

@yanick Thanks for the PR. Changes are addressed, please take a quick pass and 👍 if you're good with everything,

Anyone else who would like to review before this gets merged, please do!

Copy link
Contributor

@yanick yanick left a comment

Choose a reason for hiding this comment

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

All good! \o/

@cromedome cromedome added this to the Dancer2 2.0.0 milestone Jun 18, 2025
Jason A. Crome and others added 19 commits July 21, 2025 11:52
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.
cromedome and others added 24 commits July 21, 2025 11:53
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.
... it was expecting `user` to be a query parameter,
whereas the example has it as a route param.
@cromedome
Copy link
Contributor Author

Merged via 26641fe - I squashed all the commit history down. Thanks @yanick!

@cromedome cromedome closed this Jul 23, 2025
cromedome added a commit that referenced this pull request Sep 15, 2025
    [ BUG FIXES ]
    * GH #1701: Split cookie values on & only (Yanick Champoux)

    [ ENHANCEMENTS ]
    * GH #530: Make data censoring configurable (Yanick Champoux, David
      Precious)
    * GH #850: Scaffold tutorial app; allow multiple apps to be scaffolded
      in core Dancer2 (Jason A. Crome)
    * GH #1512: Log hook entries as they are executed (Yanick Champoux)
    * GH #1615: Remove Dancer2::Template::Simple from Dancer2 core (Jason
      A. Crome)
    * PR #1637: New, extendable configuration system (Mikko Koivunalho)
    * GH #1723: Enable use of a different Template Toolkit base class
      (Andy Beverley)
    * PR #1727: Don't create CPAN package files when generating new apps
      (Jason A. Crome)
    * PR #1731: Retire Template::Tiny fork, use CPAN's (Jason A. Crome,
      Karen Etheridge, Damien Krotkine, Yanick Champoux)
    * PR #1736: Allow config system to bootstrap itself (Yanick Champoux)
    * GH #1737: Add on_hook_exception for errors during hook processing
      (Andy Beverley)
    * PR #1739: Add source to on_hook_exception (Andy Beverley)
    * PR #1742: Refactor CLI for future expansion (Jason A. Crome)

    [ DOCUMENTATION ]
    * GH #1342: Document skipping private methods in pod coverage tests
      (Jason A. Crome)
    * PR #1721: New Dancer2 docs, reorganization of all documentation;
      from TPRF grant (Jason A. Crome)
    * PR #1741: Cover items missed in earlier documentation branch (Jason
      A. Crome)

    [ DEPRECATED ]
    * None

    [ MISC ]
    * None
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.

2 participants