Skip to content

Commit b9ddcd5

Browse files
authored
Merge pull request #1270 from hydephp/format-markdown-documents
Format Markdown documents
2 parents e144972 + 87cc9b5 commit b9ddcd5

File tree

15 files changed

+169
-44
lines changed

15 files changed

+169
-44
lines changed

CHANGELOG.md

Lines changed: 126 additions & 27 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ Contributions are **welcome** and will be fully **credited**.
44

55
Please read and understand the contribution guide before creating an issue or pull request. This document is a living standard that may be updated when needed.
66

7+
78
## Resources
89

910
If you're new to HydePHP and are looking to contribute, it may be helpful to learn how the ecosystem and core development works.
1011
It's thus highly advised you visit our [Developer Resources](https://hydephp.com/community) to learn how HydePHP is structured.
1112

13+
1214
## Etiquette
1315

1416
This project is open source, and as such, the maintainers give their free time to build and maintain the source code
@@ -21,6 +23,7 @@ world that developers are civilized and selfless people.
2123
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient
2224
quality to benefit the project. Many developers have different skill sets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.
2325

26+
2427
## Viability
2528

2629
When requesting or submitting new features, first consider whether they might be useful to others. Open
@@ -51,13 +54,15 @@ Before submitting a pull request:
5154
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
5255
- Check the feature is a viable for the project (see above)
5356

57+
5458
## How-to
5559

5660
HydePHP development is made in the HydePHP monorepo found at https://github.com/hydephp/develop.
5761
To get started, you will need to clone the repository, and run `composer install`. You will then be able to make changes to the packages found in the `packages/` sub-directories.
5862

5963
Once you've made and commited your changes, submit a pull request to the same repository, and explain your changes and how they improve the codebase.
6064

65+
6166
## Requirements
6267

6368
If the project maintainer has any additional requirements, you will find them listed here.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
> This repository holds the source code for the HydePHP core components. If you want to create a website with Hyde, check out the [HydePHP/Hyde repository](https://github.com/hydephp/hyde).
2828
29+
2930
## Projects in this monorepo
3031

3132
[![Upcoming Documentation](https://img.shields.io/badge/-Upcoming%20Documentation-525252)](https://hydephp.github.io/develop/master/dev-docs/)
@@ -55,15 +56,12 @@ The two most important components are **Hyde** and **Framework**. We also use **
5556
| **UI Kit** | [packages/ui-kit](packages/ui-kit) | [hydephp/ui-kit](https://github.com/hydephp/ui-kit) | [hyde/ui-kit](https://packagist.org/packages/hyde/ui-kit) |
5657
| **HydeFront** | [packages/hydefront](packages/hydefront) | [hydephp/hydefront](https://github.com/hydephp/hydefront) | [npm@hydefront](https://www.npmjs.com/package/hydefront) |
5758

58-
5959
*The Hyde/Hyde project is stored in the monorepo root and works a bit differently from the others. Before pushing to the readonly repository, we apply persisted changes in the [`packages/hyde`](https://github.com/hydephp/develop/tree/master/packages/hyde) directory, then remove monorepo specific files.
6060

61-
6261
### How the monorepo works
6362

6463
Changes to HydePHP including some first-party packages are made here. The changes are then pushed to the `develop` or `master` branches of the readonly repositories seen in the table above.
6564

66-
6765
### Releases
6866

6967
The versioning between the Framework and Hyde packages are linked together Meaning that if Hyde get's a major release, so must Framework, and vice versa. To make this easier, we also publish major and minor releases in the monorepo. Patch releases are not published in the monorepo, and are instead handled by the individual packages.

packages/framework/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
[![Test Coverage](https://codecov.io/gh/hydephp/develop/branch/master/graph/badge.svg?token=G6N2161TOT)](https://codecov.io/gh/hydephp/develop)
99
[![Test Suite](https://github.com/hydephp/develop/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/hydephp/develop/actions/workflows/continuous-integration.yml)
1010

11+
1112
## About
13+
1214
HydePHP is a content-first Laravel-powered Static Site Builder that allows you to create static HTML pages, blog posts, and documentation sites using Markdown.
1315
Hyde is all about letting you get started quickly by giving you a full-featured frontend starter kit, while also giving you the power and freedom of doing things the way you want to.
1416

packages/framework/SECURITY.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ These are the version ranges of HydePHP, and their support status. We follow [Se
1212
| < 0.8 | :x: | Alpha stage |
1313

1414

15-
<!--
16-
| 5.1.x | :white_check_mark: |
17-
| 5.0.x | :x: |
18-
| 4.0.x | :white_check_mark: |
19-
| < 4.0 | :x: | -->
20-
21-
2215
## Reporting a Vulnerability
2316

2417
If you discover a security vulnerability within this package, please send an e-mail to the creator, Caen De Silva, via [email protected].

packages/framework/tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Hyde Testing
22

3-
The tests here cover the Hyde/Framework package. Note that they are intended to be run through the monorepo.
3+
The tests here cover the Hyde/Framework package. Note that they are intended to be run through the monorepo.

packages/hyde/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# HydePHP - Elegant and Powerful Static Site Generator
22

3-
43
[![Latest Version on Packagist](https://img.shields.io/packagist/v/hyde/framework?include_prereleases)](https://packagist.org/packages/hyde/framework)
54
[![Total Downloads on Packagist](https://img.shields.io/packagist/dt/hyde/framework)](https://packagist.org/packages/hyde/framework)
65
[![License MIT](https://img.shields.io/github/license/hydephp/hyde) ](https://github.com/hydephp/hyde/blob/master/LICENSE.md)
@@ -11,12 +10,14 @@
1110
## Make static websites, blogs, and documentation pages with the tools you already know and love.
1211

1312
### About HydePHP
13+
1414
HydePHP is a content-first Laravel-powered console application that allows you to create static HTML pages, blog posts, and documentation sites,
1515
using your choice of Markdown and/or Blade.
1616

1717
Build sites in record-time with a full batteries-included TailwindCSS frontend that just works without any fuzz.
1818

1919
### Speed & simplicity first, full control when you need it.
20+
2021
Hyde is all about letting you get started quickly by giving you a full-featured frontend starter kit, while also giving you the power and freedom of doing things the way you want to.
2122

2223
Markdown purist? That's all you need. Blade artisan? Go for it.
@@ -25,35 +26,42 @@ You don't _need_ to customize anything. But you _can_ customize everything.
2526

2627
See the documentation and learn more at https://hydephp.com/docs/
2728

29+
2830
## Features
2931

3032
### Content Creation
33+
3134
- Create blog posts using Markdown and Front Matter.
3235
- Create documentation pages from plain Markdown, no front matter needed!
3336
- Create simple pages using Markdown, or create advanced ones using Laravel Blade.
3437
- You can scaffold blog posts and Markdown pages to automatically fill in the front matter.
3538
- You can also scaffold Blade pages to automatically use the default layout.
3639

3740
### Built-in Frontend
41+
3842
- Hyde comes with a TailwindCSS starter kit so you can start making content right away.
3943
- The starter kit is fully responsive, has a dark mode theme, and is customizable.
4044
- The frontend is accessible to screenreaders and rich with semantic HTML and microdata.
4145
- Hyde automatically chooses the right layout to use depending on the content being rendered.
4246
- Hyde also fills in and creates content like navigation menus and sidebars automatically.
4347

4448
### Easy Asset Managing
49+
4550
- The Hyde starter comes with [HydeFront](https://github.com/hydephp/hydefront/) to serve the base stylesheet and JavaScript through the jsDelivr CDN.
4651
- Hyde ships with precompiled and minified TailwindCSS styles in the app.css file, you can also load them through the CDN.
4752
- This means that all the styles you need are already installed. However, if you want to customize the Tailwind config, or if you add new Tailwind classes through Blade files, you can simply run the `npm run dev` command to recompile the styles using Laravel Mix.
4853

4954
### Customization
55+
5056
- You don't need to configure anything as Hyde is shipped with sensible defaults.
5157
- You can, however, customize nearly everything. Here are some examples:
5258
- All frontend components and page layouts are created with Blade so you
5359
can publish the vendor views, just like in Laravel.
5460
- Override many of the dynamic content features like the menus and footer.
5561

62+
5663
## Getting Started - High-level overview
64+
5765
> See [Installation Guide](https://hydephp.com/docs/master/installation.html) and [Getting Started](https://hydephp.com/docs/master/getting-started.html) for the full details.
5866
5967
It's a breeze to get started with Hyde. Create a new Hyde project using Composer:
@@ -70,6 +78,7 @@ When you're ready, run the build command to compile your static site which will
7078
php hyde build
7179
```
7280

81+
7382
## Resources
7483

7584
### Changelog
@@ -97,6 +106,7 @@ All vulnerabilities will be promptly addressed.
97106
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
98107

99108
### Attributions
109+
100110
> Please see the respective authors' repositories for their license files
101111
102112
- The Hyde core is built with [Laravel Zero](https://laravel-zero.com/) which is based on [Laravel](https://laravel.com/)

packages/hydefront/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![NPM Downloads](https://img.shields.io/npm/dm/hydefront)
55
[![Build & Push CI](https://github.com/hydephp/hydefront/actions/workflows/node.js.yml/badge.svg)](https://github.com/hydephp/hydefront/actions/workflows/node.js.yml)
66

7+
78
## About this repository
89

910
Contains the frontend assets for HydePHP.
@@ -18,14 +19,19 @@ Normally, this file is imported into the main.css file.
1819
- **App.css**:
1920
A compiled and minified file containing the TailwindCSS styles for a base Hyde installation. It includes the Hyde.css file. This file is identical to what one would get by running `npm run prod` in a new HydePHP project (which incidentally is exactly how this file is generated).
2021

22+
2123
## Usage
2224

2325
HydeFront is included with [HydePHP](https://github.com/hydephp/hyde) by default.
2426

27+
2528
## Links:
29+
2630
- GitHub https://github.com/hydephp/hydefront
2731
- NPM https://www.npmjs.com/package/hydefront
2832
- jsDelivr https://www.jsdelivr.com/package/npm/hydefront
2933

34+
3035
## Warranty:
36+
3137
HydeFront is not intended to be used for standalone projects and comes with no warranties. Changes in HydeFront are tied to those in the Hyde Framework and differing versions may be incompatible.

packages/realtime-compiler/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The source code for the HydePHP Realtime Compiler/Server. This package is includ
44

55
The package adds a `php hyde serve` command which exposes a web server on port `8080` which will compile the requested web page on the fly and serve it to the browser.
66

7+
78
## Supported Versions
89

910
This package is not intended to be used outside the HydePHP framework.

packages/realtime-compiler/SECURITY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
## Reporting a Vulnerability
44

5-
65
If you discover a security vulnerability within this package, please send an e-mail to the creator, Caen De Silva, via [email protected].
76

87
All security vulnerabilities will be promptly addressed.

0 commit comments

Comments
 (0)