openlibhums / janeway

A web-based platform for publishing journals, preprints, conference proceedings, and books
https://janeway.systems/
GNU Affero General Public License v3.0
168 stars 63 forks source link

Mark up documentation in markdown rather than restructured text #3221

Closed joemull closed 1 month ago

joemull commented 1 year ago

Describe the area of the documentation you would like updated/added.

We have been discussing changes to the way we maintain documentation for Janeway.

Our goals:

Proposed solution Three things:

S-Haime commented 1 month ago

File checks:

Workflow guides

Dev info

Editor

Manager

New users

Import plugin

Books plugin

General

Published

S-Haime commented 1 month ago

Taken from email/ticket from Paul:

"A brief overview:

There are two main things to know about: how to upload HTML galleys and how to control their visual style with CSS.

HTML galley files can be uploaded in the same way as JATS XML galleys. Here are editor docs for generating and uploading galleys. Just make sure each file is a valid HTML document with <!DOCTYPE html> on the first line and a .html file ending. When Janeway gets an HTML file as a galley, it will just display the contents, without transforming it into HTML like it does with XML. HTML files can be previewed in the same way as XML files during typesetting and proofreading. They can be set as the main galley during prepublication as well.

For visual appearance, the process is a bit technical at the moment because it involves writing CSS rulesets that will overwrite the default styling in Janeway. So editors would need to know a bit about CSS and also how to inspect a webpage using their browser's developer tools to check that their CSS code is taking effect. Here are the two ways to put styling in:

If they want to change the styling for just one article, they can write inline CSS in the HTML document they upload.

If they want to set style rules for all the HTML galleys uploaded, they can create style sheets using the Custom Styling plugin. It looks like your installation has the plugin installed and some stylesheets set already. But editors will need staff access in Janeway to manage this plugin, so it may be better to work with them to define styles and then add a stylesheet dedicated to their journal. While editing the stylesheets, note that the results may not show up immediately. To speed up the process, you can clear the Janeway cache via "Clear Cache" the Manager page, and do a hard refresh of your browser to make sure your browser is getting the latest CSS instructions."

joemull commented 1 month ago

Closing in favor of https://github.com/BirkbeckCTP/memory-alpha/issues/25