Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The main idea - is creation the functionality for describing the project page using the README.md.
I plan to add the checkbox on a project editing page, that will ask the author of the project about using the README.md as a content for project page on Drupal.org. Then, if checkbox was set, parse the Markdown syntax to HTML according to current styles.
For parsing the Markdown I want to use the Parsedown.
Comments
Comment #1
BR0kENComment #2
drummPlease see #1674976: Allow README.md to optionally render as the project page for other discussion and post patches there. I'll keep this issue open for the dev site itself.
Comment #3
drummComment #4
drummreadme-drupal.redesign.devdrupal.org is building out and will be ready in an hour.
Comment #5
BR0kEN@drumm, can you help me with "VersioncontrolGitRepository" object? I have no permissions to check repo and want to know how I can find anything (*.md files) in project codebase.
Comment #6
drummOur www servers, like dev, don't actually have direct access the the Git repositories on disk. For example, packaging is done with a Git clone. The Git servers do bootstrap Drupal, invoking hook_versioncontrol_code_arrival() among other things.
For deployment, and any significant changes, we'll want to run this on all projects with a README.md to get the data into Drupal.org's DB. I'd rather run that from a web server than a Git server. So, please build this not relying on local Git files. I'll put a few notes in the implementation issue.
Comment #8
isntall CreditAttribution: isntall as a volunteer commentedIs this site still needed?
Comment #9
BR0kENAt the current time - not. But could be needed in future.
Comment #10
drummI highly recommend any new work happens on a fresh dev site, we've improved the infrastructure quite a bit since this dev site was built out.
Comment #11
BR0kENOkay. Drop this one.
Comment #12
isntall CreditAttribution: isntall as a volunteer commentedOk, this should be destroyed by end of today, hopefully noon pst.
I'll mark it fixed once it has been destroyed.
Comment #13
isntall CreditAttribution: isntall as a volunteer commentedThis site has been destroyed.