-
Notifications
You must be signed in to change notification settings - Fork 23
Upgrade to SilverStripe 4 (or don't?) #133
Comments
cc @SpiritLevel |
@robbieaverill: Is the docsviewer module important for people developing on the CWP ? |
@SpiritLevel no I don't believe so, but the CWP website does use it |
Well...does the fact that the CWP website uses docsviewer indicate CWP developers expect the docsviewer module to be available? If so, then, assuming the CWP is important to SS Ltd, it appears docsviewer must become supported by SS Ltd. and hence upgraded to SS4. I'm happy for my assumptions & reasoning to be shown as faulty :) |
CWP devs (and other users) would expect there to be docs available on the website, I don't believe that anyone would mind if we replaced the underlying libraries while still delivering the content in the same places in the website information architecture |
@robbieaverill Your comment above taken together with that made by @chillu here seems to suggest the idea of replacing docsviewer with something else that uses reStructuredText is being floated... |
@SpiritLevel yeah the discussion in silverstripe/doc.silverstripe.org#157 around using RTD instead is the most obvious alternative at this stage |
@robbieaverill No, sorry, I meant replacing docsviewer with a new module that uses reStructuredText.... |
Where did we get on this issue? The module has been removed from the 2.0 upgrade programme. Has a third party service @chillu suggested been identified? |
There's some discussion around using readthedocs.org here: silverstripe/doc.silverstripe.org#157 At the time of writing it didn't support themes for markdown repositories though, so we might either need to convert to a different format of documentation (big job) or live with a lack of theming. |
Do we have a time horizon in regards to when a decision needs to be made? |
It's not pressing. We won't be able to put docs.silverstripe.org, cwp.govt.nz or userhelp.silverstripe.org onto SilverStripe 4 without upgrading this module first though. |
If there's still interest in doing this, I'm actually attempting to upgrade it as we use it as the foundation/base for our module webbuilders-group/silverstripe-cmsuserdocs. |
One issue I'm running into is the search, it's using Zend_Search_Lucene which doesn't seem to have a supported version in Zend Framework anymore, it hasn't been updated in 4 years. I have a feeling even if we pack in the 1.12 version that is currently included and add the missing components it won't work on PHP 7+ anyways. |
@UndefinedOffset thanks for looking into this. My suggestion would be to remove Lucene support in SilverStripe 4 - we usually promote using Solr for searching, or the OOB full text search engine in core. We don't use Lucene on the SilverStripe docs site FYI. Related issues: zendframework/ZendSearch#24 salesagility/SuiteCRM#3352 |
Sounds good to me I'll strip out the search related stuff from the module then my progress is here. It's almost ready to open a pull I think, struggling to get the routing working right now dev/docs seems to be getting handled by DevelopmentAdmin right now. |
FYI — docs.silverstripe.org is now running a Gatsby-based solution. The CWP docs are still running with this module and SS3. |
I think the general consensus from the current module maintainers is that we're not planning a 4.x upgrade, so this issue is noise - I'll close it. If anyone wants to take on the maintenance of a 4.x compatible version and coordinate an upgrade, they can reopen it :) |
Before spending a lot of time on upgrading this module to SS4, we should resolve the discussion around moving doc.silverstripe.org to a third party documentation service: silverstripe/doc.silverstripe.org#157
While I acknowledge that docsviewer is used in other contexts, it significantly lowers our need to upgrade it if we're not using it on doc.ss.org. I see docsviewer (and the related maintenance around doc.ss.org) as a moderate distraction for SS Ltd, which could be better spent elsewhere. Our Markdown isn't that special :D
The text was updated successfully, but these errors were encountered: