DECENTRALIZEDCLIMATE / docs

markdown documentation
Other
0 stars 2 forks source link

Fix README #31

Closed TrinityBerserker closed 1 year ago

TrinityBerserker commented 1 year ago

The Readme file in the repository has been found to have an incorrect description of what the page is about.

Details: The document is of vital importance as it describes important points for the project. In the image, it can be seen that it talks about a Jekyll workshop when the README should be a description of the docs page (Img1)

Image Img1.- The image shows the error, as it describes a workshop instead of what the docs page is about.

Proposal solution: How to Create the README for an Open-Source Software Project

These steps to follow are suggestions provided by ChatGPT and Phind.

P1R commented 1 year ago

Please add the following section before contribute section:

HOW TO MAKE A POST

How to Make a Post in a Jekyll Repository

If you want to publish a post or article on docs.decentralizedclimate.org, follow these steps:

  1. Create a markdown file in the following directory if it's for the DCF directory:
    https://github.com/DECENTRALIZEDCLIMATE/docs/tree/develop/_posts/
    or in the following directory if it's for social services:
https://github.com/DECENTRALIZEDCLIMATE/docs/tree/develop/_posts/socialserv
  1. The post must contain the following data: 2.1. A header with the following data in markdown format:
---
title: Git & Gitflow Cheetsheet EN
author: Decentralized Climate Foundation
date: 2023-03-15
category: git-flow
layout: post
---

2.2. A file name starting with the date in the format YYYY-MM-DD-myposttopic.md. Some examples already exist in the directory.

  1. Add a link to the post in the DCF or social services directory by following these steps: 3.1. For the social services directory, go to the following link and paste the markdown of the post under the "Mans & CheetSheets" section in the following format:
## Mans & CheetSheets

| Document | Last Update |
| -------- | -------- |
| [Git & GitFlow ES]({% post_url socialserv/2023-03-15-gitflowCheetSheet_ES %}) |  2023-02-16 |
| [Git & GitFlow EN]({% post_url socialserv/2023-03-15-gitflowCheetSheet_EN %}) |  2023-02-16 |

3.2. Similarly, for the DCF directory, add a link with these example directives to the following link:

https://github.com/DECENTRALIZEDCLIMATE/docs/blob/develop/index.md

Note that the URL is not a permalink. It is in the format YYYY-MM-DD-myposttopic without the .md extension.

  1. Optional: You can fork the project on your user account on the develop branch and link it to hackmd.io to edit before making a commit to your own repository. Then, submit a pull request, or edit the post directly in the GitHub editor.

  2. When your request is accepted on the develop branch, it will appear on the following link:

develop branch website

  1. Additionally, if you want to add images to your post, place them in the assets directory. Please refer to the README.md for more information.

  2. If you have any questions, you can convene a meeting or workshop with the board of directors.

P1R commented 1 year ago

@PaganoBerserker is it possible you add the process to decentralize images? I am not usre it is covered in the Contribute/MakePost Section, please add this tool as reference to reduce assets size: https://squoosh.app/