Adding user registration to a DocC Tutorial with assessment

I've created an interactive Swift DocC Tutorial with multiple choice assessments. Now I want to add a user registration so that I can keep tab of who has taken and completed the tutorial. How might I do this? Specifically:

  1. How do I make sure they answer all the assessments?
  2. How can I add a user registration to the tutorial?

Appreciate very much the inputs. Thanks.

I'm the bearer of bad news for you today - DocC's tutorial structure doesn't include any capabilities like this. The assessments included within DocC tutorials are for students to review only if they want to, as it's not a "test taking" kind of app situation, and there's no hooks for adding something like that.

DocC itself generates documentation archives, which are meant to be consumed in multiple formats and venues, not just HTML. If you happen to be hosting your own documentation on your own server, you could certainly add your own capabilities to that server to restrict page access (likely by URI) - but that capability isn't something that is included within the javascript that is "docc-render", which is what processes the documentation archive to present it as HTML.

1 Like

Hahaha No worries Joseph. And thanks a lot for your inputs...that saved me a lot of exploration.

Thanks again and happy holidays!