The code currently looks for the pageId inside of the output of the url. the viewpagesource link requires a login. Right. It doesn't actually care about pageId anymore cause the apis returned different results than the rendered page. Whats the actual url to that wiki page? can you try that one instead of the viewpagesrc link which requires login and admin access?
On Thu, Aug 6, 2020 at 1:41 PM Arnaud Héritier <[email protected]> wrote: > Hi team, > > What is the status today ? > > I wanted to convert the doc for https://plugins.jenkins.io/pipeline-maven/ > I followed > https://www.jenkins.io/doc/developer/publishing/wiki-page/#migrating-from-wiki-to-github > and > tried to use https://jenkins-wiki-exporter.jenkins.io/ but it fails with > this error: > > Error: TypeError: Failed to fetch > > Both with the wiki URL and the plugin ID with options: > > - Markdown Zip > - Asciidoc > - Asciidoc Zip > > Only the Markdown output works. Is it a known issue ? A problem specific > to this (large) page ? > > I cannot use the manual version too because to display the html export of > a page we need its ID not its name > > The URL is like > https://wiki.jenkins.io/plugins/viewsource/viewpagesrc.action?pageId=1234567890 > > Any hint ? > > On Fri, Feb 7, 2020 at 4:37 PM Tim Jacomb <[email protected]> wrote: > >> If anyone wants to help out there’s a progress page here: >> >> https://jenkins-wiki-exporter.jenkins.io/progress >> >> Pick one that isn’t in progress, >> Use the wiki exporter to get all content and images, >> Do a bit of cleanup >> Open a pull request >> Add your pull request to the GitHub project tracking it ( >> https://github.com/orgs/jenkinsci/projects/3), I think any org member >> can do it, and if you can’t do it then ask in the gitter channel >> https://gitter.im/jenkinsci/docs >> >> The progress page is automatically updated based on the GitHub project >> >> Thanks >> Tim >> >> On Fri, 7 Feb 2020 at 14:12, Olblak <[email protected]> wrote: >> >>> Indeed congrats to everybody, this sub-project is a beautiful example of >>> contributing to an OSS project is not only about write code for the >>> application itself but also improving its ecosystem through collaboration. >>> >>> --- >>> gpg --keyserver keys.gnupg.net --recv-key 52210D3D >>> --- >>> >>> >>> On Fri, Feb 7, 2020, at 2:56 PM, Mark Waite wrote: >>> >>> Gavin Mogan has made significant improvements to >>> https://plugins.jenkins.io/ . It loads faster, works better, and is >>> easier to maintain. Thanks Gavin! >>> >>> As part of those improvements, plugin pages on the Jenkins wiki are now >>> automatically redirected to https://plugins.jenkins.io/ . For example, >>> the wiki page that would previously have opened for >>> https://wiki.jenkins.io/display/JENKINS/Git+Plugin now redirects to >>> https://plugins.jenkins.io/git . The new page loads much faster and is >>> more easily and reliably maintained in the plugin repository. >>> >>> Only plugin pages on the wiki are automatically redirected. Other pages >>> on the Jenkins wiki are not automatically redirected. As we move >>> documentation from the wiki to https://jenkins.io/doc/, more wiki pages >>> will be redirected. >>> >>> Because the Jenkins wiki is read only, plugin maintainers will need to >>> move their documentation the next time they update it. Plugin >>> documentation preferences are: >>> >>> - Migrate documentation from wiki to GitHub as described in Oleg >>> Nenashev's blog post >>> <https://jenkins.io/blog/2019/10/21/plugin-docs-on-github/> and >>> demonstrated in the Nov 22, 2019 developer meetup >>> <https://www.youtube.com/watch?v=PaQsvli92XY> >>> - Migrate changelog creation from manual edits of the wiki to >>> automated GitHub release drafter as described in the online >>> documentation >>> >>> <https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc> >>> and demonstrated in the online meetup >>> >>> <https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc#jenkins-online-meetup-recording> >>> - Migrate historical changelogs from wiki to GitHub CHANGELOG file >>> using the wiki exporter <https://jenkins-wiki-exporter.jenkins.io/> >>> >>> Plugins that have not migrated their documentation from the wiki to >>> GitHub will continue to show that documentation on >>> https://plugins.jenkins.io/ . Wiki based documentation can't be edited >>> due to the spam problems which forced us to make the Wiki read-only. >>> >>> Plugin developers that aren't ready to transition to automatic >>> changelogs could migrate their changelog from wiki to GitHub CHANGELOG.md >>> file using wiki exporter and continue to maintain the changelog manually. >>> >>> Deepest and most sincere thanks to Gavin Mogan for his excellent work on >>> the transition of plugin documentation from Wiki to GitHub! Thanks also to >>> Tim Jacomb, Oleg Nenashev, and many others for their efforts to make the >>> transition successful. Over 250 plugin repositories have already completed >>> the transition from Wiki documentation to maintaining their documentation >>> in GitHub. >>> >>> Mark Waite >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/d5db809a-e912-452d-93f8-162d8584001f%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-dev/d5db809a-e912-452d-93f8-162d8584001f%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/678e79c3-b7e2-4eaf-9a6d-52284ac7e30b%40www.fastmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-dev/678e79c3-b7e2-4eaf-9a6d-52284ac7e30b%40www.fastmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Biei_FT_SgubSgUiQ8dRtYFCYmOTCiZd%3DLuXm-%2BA0fD11A%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Biei_FT_SgubSgUiQ8dRtYFCYmOTCiZd%3DLuXm-%2BA0fD11A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Arnaud Héritier > Twitter/Skype : aheritier > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-8Hfy-c93%3DpZWQT3yhXG_SV-yx6d0XSzzwLSa-AJhxW_A%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAFNCU-8Hfy-c93%3DpZWQT3yhXG_SV-yx6d0XSzzwLSa-AJhxW_A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuuSmfc8rTY-tZPzPDy-8yEWm_9XDermhGekfVs78bUPoQ%40mail.gmail.com.
