Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Upgrade to SilverStripe 4 (or don't?) #133

Closed
chillu opened this issue Jun 28, 2017 · 19 comments
Closed

Upgrade to SilverStripe 4 (or don't?) #133

chillu opened this issue Jun 28, 2017 · 19 comments

Comments

@chillu
Copy link
Member

chillu commented Jun 28, 2017

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

@robbieaverill
Copy link
Contributor

cc @SpiritLevel

@SpiritLevel
Copy link
Contributor

@robbieaverill: Is the docsviewer module important for people developing on the CWP ?

@robbieaverill
Copy link
Contributor

@SpiritLevel no I don't believe so, but the CWP website does use it

@SpiritLevel
Copy link
Contributor

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 :)

@robbieaverill
Copy link
Contributor

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

@SpiritLevel
Copy link
Contributor

@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...

@robbieaverill
Copy link
Contributor

@SpiritLevel yeah the discussion in silverstripe/doc.silverstripe.org#157 around using RTD instead is the most obvious alternative at this stage

@SpiritLevel
Copy link
Contributor

@robbieaverill No, sorry, I meant replacing docsviewer with a new module that uses reStructuredText....

@robbieaverill
Copy link
Contributor

robbieaverill commented Nov 13, 2017

cc @be2n @nicolewilliams16

@be2n
Copy link

be2n commented Dec 18, 2017

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?

@robbieaverill
Copy link
Contributor

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.

@be2n
Copy link

be2n commented Dec 18, 2017

Do we have a time horizon in regards to when a decision needs to be made?

@robbieaverill
Copy link
Contributor

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.

@UndefinedOffset
Copy link
Contributor

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.

@UndefinedOffset
Copy link
Contributor

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.

@robbieaverill
Copy link
Contributor

@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

@UndefinedOffset
Copy link
Contributor

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.

@sminnee
Copy link
Member

sminnee commented Nov 19, 2019

FYI — docs.silverstripe.org is now running a Gatsby-based solution. The CWP docs are still running with this module and SS3.

@chillu
Copy link
Member Author

chillu commented Nov 27, 2019

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 :)

@chillu chillu closed this as completed Nov 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants