Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ body:
description: |
A good amount of bug reports are actually feature requests. To help you with that, read and check all the boxes to make sure you really need to fill the full template. If you can't check those two boxes, this is a feature request, not a bug. Fill a feature request here: https://native-html.canny.io/features
options:
- label: "My issue does not look like “The HTML attribute 'xxx' is ignored” (unless
we claim support for it)"
required: true
- label: "My issue does not look like “The HTML attribute 'xxx' is ignored” (unlesswe claim support for it)"
- required: true
- label: "My issue does not look like “The HTML element `<yyy>` is not rendered”"
required: true
validations:
Expand Down Expand Up @@ -44,8 +43,8 @@ body:
- type: textarea
attributes:
label: "RNRH Version"
placeholder: "Type which version of react-native-render-html you are using."
validations:
placeholder: "Type which version of @native-html/render you are using."
validations:
required: true
- type: checkboxes
attributes:
Expand Down Expand Up @@ -76,7 +75,7 @@ body:
label: Minimal, Reproducible Example
description: |
[*What is a Minimal, Reproducible Example (MRE)?*](https://stackoverflow.com/help/minimal-reproducible-example). Provide either a link to an expo snack, git repository, or a code block. You can fork [**our Snack template**](https://snack.expo.dev/@jsamr/rnrhtml-template) to gain time (follow instructions from the README in this snack)! The MRE **must be self-contained**, and **HTML inlined** unless strictly necessary (e.g., a bug with remote HTML). Also note:
- If your issue is related to operations such as dependency resolution or testing, **you must** provide a MRE in the form of a git repository.
- If your issue is related to operations such as dependency resolution or testing, **you must** provide a MRE in the form of a git repository.
- If and only if you provide a regression test in lieu of a MRE, you can reference the related PR instead.
placeholder: "https://snack.expo.dev/@jsamr/rnrhtml-template"
validations:
Expand All @@ -86,4 +85,4 @@ body:
label: Additional Notes
description: "Any extra information that can help with the resolution. If other libraries are involved in the MRE, note their versions here."
validations:
required: false
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ contact_links:
url: https://native-html.canny.io/features
about: A page where all feature requests are handled.
- name: 🆘 Getting Help
url: https://github.com/meliorence/react-native-render-html/blob/master/HELP.adoc
url: https://github.com/native-html/render/blob/main/HELP.adoc
about: A resource which describes all the steps you should go through when you're facing an issue with this library.
- name: 🌐 Official Website
url: https://meliorence.github.io/react-native-render-html/
about: The official website with plenty of guides, blog posts and documentation!
url: https://native-html.github.io/render/
about: The official website with plenty of guides, blog posts and documentation!
39 changes: 39 additions & 0 deletions .github/workflows/build-and-deploy-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Deploy website to github pages"

on:
push:
branches:
- main
- chore/deploy-website-and-andjust-docs
workflow_dispatch:

jobs:
build-and-deploy:
name: Build and deploy to github pages
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install packages
run: yarn install --frozen-lockfile

- name: Build packages and web
run: yarn build:all

- name: Deploy 🚀
id: deploy-gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: apps/website/build
branch: gh-pages
2 changes: 1 addition & 1 deletion .github/workflows/css-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/transient-render-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 14 additions & 14 deletions HELP.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ I am using `@native-html/render` and I am witnessing a failure such as:
[sidebar]
.__Recommendations__
--
1. Read the https://meliorence.github.io/react-native-render-html/docs/faq[FAQ].
1. Read the https://native-html.github.io/render/docs/faq[FAQ].
2. Take a look at
https://stackoverflow.com/questions/tagged/react-native-render-html for similar
https://stackoverflow.com/questions/tagged/native-html-render or https://stackoverflow.com/questions/tagged/react-native-render-html for similar
questions.
3. Take a look at
https://github.com/meliorence/react-native-render-html/issues[our issue tracker]
https://github.com/native-html/render/issues[our issue tracker]
for similar questions.
4. If you still don't have a solution, you can choose one or more:
+
Expand Down Expand Up @@ -85,14 +85,14 @@ B. Select "Check by text input"
C. Paste your snippet in the body of the document.
D. Press "Check"
2. Make sure your issue isn't covered
https://meliorence.github.io/react-native-render-html/docs/intro[by
https://native-html.github.io/render/docs/intro[by
the docs].
3. Read the https://meliorence.github.io/react-native-render-html/docs/faq[FAQ].
3. Read the https://native-html.github.io/render/docs/faq[FAQ].
4. Take a look at
https://stackoverflow.com/questions/tagged/react-native-render-html for similar
https://stackoverflow.com/questions/tagged/native-html-render or https://stackoverflow.com/questions/tagged/react-native-render-html for similar
questions.
5. Take a look at
https://github.com/meliorence/react-native-render-html/issues[our issue tracker]
https://github.com/native-html/render/issues[our issue tracker]
for similar questions.
6. If you still don't have a solution, you can choose one or more:
+
Expand All @@ -109,19 +109,19 @@ report anyway.
.__Recommendations__
--
1. Make sure the feature isn't covered
https://meliorence.github.io/react-native-render-html/docs/intro[by
https://native-html.github.io/render/docs/intro[by
the docs].
2. Read the https://meliorence.github.io/react-native-render-html/docs/faq[FAQ].
2. Read the https://native-html.github.io/render/docs/faq[FAQ].
3. Take a look at
https://stackoverflow.com/questions/tagged/react-native-render-html for similar
https://stackoverflow.com/questions/tagged/native-html-render or https://stackoverflow.com/questions/tagged/react-native-render-html for similar
questions.
4. Take a look at
https://github.com/meliorence/react-native-render-html/issues[our issue tracker]
https://github.com/native-html/render/issues[our issue tracker]
for similar questions.
5. If you still don't have an answer, you can choose one or more:
+
A. https://stackoverflow.com/questions/ask[Opening a StackOverflow post] with the
`react-native-render-html` tag.
`@native-html/render` tag.
B. Submitting a <<CONTRIBUTING.adoc#features,Feature Request>>.
C. Going to https://discord.gg/dbEMMJM[our Discord #support channel].
--
Expand All @@ -133,9 +133,9 @@ C. Going to https://discord.gg/dbEMMJM[our Discord #support channel].
.__Recommendations__
--
1. Carefully
https://meliorence.github.io/react-native-render-html/docs/intro[read
https://native-html.github.io/render/docs/intro[read
the docs].
2. Read the https://meliorence.github.io/react-native-render-html/docs/faq[FAQ].
2. Read the https://native-html.github.io/render/docs/faq[FAQ].
3. If you still find difficult to use this feature, then we are lacking good
documentation, and we should fix it. Go to https://discord.gg/dbEMMJM[our
Discord #support channel] and we will help you out.
Expand Down
51 changes: 18 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,31 @@
/></a>
</div>
<div align="center">
<a href="https://www.npmjs.com/package/react-native-render-html"
<a href="https://www.npmjs.com/package/@native-html/render"
><img
src="https://img.shields.io/npm/v/react-native-render-html/latest"
src="https://img.shields.io/npm/v/@native-html/render/latest"
alt="npm"
/></a>
<a href="https://www.npmjs.com/package/react-native-render-html"
<a href="https://www.npmjs.com/package/@native-html/render"
><img
src="https://img.shields.io/npm/v/react-native-render-html/next"
src="https://img.shields.io/npm/v/@native-html/render/next"
alt="npm"
/></a>
<a href="https://www.npmjs.com/package/react-native-render-html"
<a href="https://www.npmjs.com/package/@native-html/render"
><img
src="https://img.shields.io/npm/dm/react-native-render-html.svg?colorB=007ec6"
src="https://img.shields.io/npm/dm/@native-html/render.svg?colorB=007ec6"
alt="npm"
/></a>
</div>
<div align="center">
<a href="https://codecov.io/gh/meliorence/react-native-render-html"
<a href="https://codecov.io/gh/native-html/render"
><img
src="https://img.shields.io/codecov/c/gh/meliorence/react-native-render-html"
src="https://img.shields.io/codecov/c/gh/native-html/render"
alt=""
/></a>
<a
href="https://github.com/meliorence/react-native-render-html/actions?query=branch%3Amaster+workflow%3ACI"
<a href="https://github.com/native-html/render/issues"
><img
src="https://github.com/meliorence/react-native-render-html/workflows/CI/badge.svg?branch=master"
alt=""
/></a>
<a href="https://github.com/meliorence/react-native-render-html/issues"
><img
src="https://img.shields.io/github/issues/meliorence/react-native-render-html.svg"
src="https://img.shields.io/github/issues/native-html/render.svg"
alt="github issues"
/></a>
<a href="https://semver.org/spec/v2.0.0.html"
Expand All @@ -55,17 +49,11 @@
src="https://img.shields.io/discord/736906960041148476?label=discord"
alt=""
/></a>
<a
href="https://openbase.com/js/react-native-render-html?utm_source=embedded&amp;utm_medium=badge&amp;utm_campaign=rate-badge"
><img
src="https://badges.openbase.com/js/rating/react-native-render-html.svg"
alt="Rate on Openbase"
/></a>
</div>
</p>
<br/>
<p align="center">
<a href="https://meliorence.github.io/react-native-render-html/"><img width="124" height="124" src="https://github.com/meliorence/react-native-render-html/raw/master/assets/logo.svg"></a>
<a href="https://native-html.github.io/render/"><img width="124" height="124" src="https://github.com/native-html/render/raw/main/assets/logo.svg"></a>
</p>
<h1 align="center">@native-html/render</h1>
<p align="center">
Expand All @@ -75,28 +63,25 @@
An iOS/Android pure javascript react-native component that renders your HTML into 100% native views.
</p>
<p align="center">
<a href="https://meliorence.github.io/react-native-render-html/blog/2021/06/27/create-blog-app-rnrh-I"><img width="320" height="744" src="https://github.com/meliorence/react-native-render-html/raw/master/assets/demo.gif"></a>
<a href="https://native-html.github.io/render/blog/2021/06/27/create-blog-app-rnrh-I"><img width="320" height="744" src="https://github.com/native-html/render/raw/main/assets/demo.gif"></a>
</p>

### 🗃️ Releases

**The Foundry (v6) release is finally stable, and is now-on the recommended
version.** [Check out **the announcement blog post** in our brand new
website](https://meliorence.github.io/react-native-render-html/blog/2021/06/07/foundry-announcement).
website](https://native-html.github.io/render/blog/2021/06/07/foundry-announcement).
We also have a [**migration
guide**](https://meliorence.github.io/react-native-render-html/docs/migration-guide)
guide**](https://native-html.github.io/render/docs/migration-guide)
for those who are coming from v5 and below.

> :warning: **You are on the master branch which is home for the latest development.**
> :warning: **You are on the main branch which is home for the latest development.**
> Check the table bellow to get documentation for your exact
> version.

| Minor | Branch | Documentation | Latest |
| ----- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| next | master | - | [![npm](https://img.shields.io/npm/v/react-native-render-html/next)](#) |
| 6.3 | [release/6.3](https://github.com/meliorence/react-native-render-html/tree/release/6.3) | [Official Website](https://meliorence.github.io/react-native-render-html/) | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/6.3)](#) |
| 5.1   | [release/5.1](https://github.com/meliorence/react-native-render-html/tree/release/5.1)   | [release/5.1/README.md](https://github.com/meliorence/react-native-render-html/blob/release/5.1/README.md) | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/5.1)](#) |
| 4.2   | [release/4.2](https://github.com/meliorence/react-native-render-html/tree/release/4.2)   | [release/4.2/README.md](https://github.com/meliorence/react-native-render-html/blob/release/4.2/README.md) | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/4.2)](#) |
| next | main | - | [![npm](https://img.shields.io/npm/v/@native-html/render/next)](#) |

<a name="prereleases"></a>

Expand Down Expand Up @@ -137,11 +122,11 @@ export default function App() {

## :blue_book: Documentation

See our [official website](https://meliorence.github.io/react-native-render-html/) and [the official Discovery App](https://expo.io/@jsamr/react-native-render-html-discovery).
See our [official website](https://native-html.github.io/render/)

## :iphone: Example

You like to learn by example? We have a tutorial from which the demo GIF has been extracted: [A WebView-free Blog App with React Native Render HTML](https://meliorence.github.io/react-native-render-html/blog/2021/06/27/create-blog-app-rnrh-I).
You like to learn by example? We have a tutorial from which the demo GIF has been extracted: [A WebView-free Blog App with Native HTML](https://native-html.github.io/render/blog/2021/06/27/create-blog-app-rnrh-I).

## :notebook: Changelog

Expand Down
2 changes: 1 addition & 1 deletion apps/discovery/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
name: 'RNRH Discovery',
slug: '@native-html/render-discovery',
description:
'An App to discover React Native Render HTML features and API!',
'An App to discover Native HTML features and API!',
version: require('./version').demo,
primaryColor: '#6767e2',
orientation: 'default',
Expand Down
2 changes: 1 addition & 1 deletion apps/discovery/src/navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import RootNavigator from './RootNavigator';
import { useTheme } from '../theme/ThemeProvider';

const linking = {
prefixes: ['https://meliorence.github.io/react-native-render-html']
prefixes: ['https://native-html.github.io/render']
};

export default function Navigation() {
Expand Down
Loading