A demonstration of how to use Docsify-This with Archethic's aeHosting.
This demo shows how Markdown files can be transformed into a static website with dynamic features, hosted on Archethic's aeHosting.
- Dynamic updates without redeployment.
- Clean navigation for easy exploration.
- Multi-language support (French & English).
To successfully deploy and test a Docsify-This site on Archethic's aeHosting, follow these detailed steps:
- Install Docsify-This: Install Docsify-This using npm by running
npm install docsify-thisin your local development environment. - Create Markdown Files: Write all the necessary Markdown files (
home.md,results.md, etc.) with appropriate content and structure for your site. - Organize Files:
- Use
_sidebar.mdfor navigation. - Use
_navbar.mdfor the top menu bar. - Use
_footer.mdfor the site footer.
- Use
- Add Metadata: If needed, include metadata for language support, navigation, and styling.
-
Generate an
index.htmlFile:- Use Docsify-This to generate the
index.htmlfile. - Ensure it includes all necessary dependencies (e.g., Docsify-This scripts and CSS files).
- Use Docsify-This to generate the
-
Enable Plugins:
- Use Docsify plugins such as search, pagination, or themes for a more dynamic user experience.
- Add plugin configurations in your
index.html.
-
Explore Available Templates:
- To inspire your site design, check out some popular Docsify-This templates that showcase diverse customization options.
- Upload Files:
- Push all Markdown files,
index.html,_sidebar.md,_navbar.md, and_footer.mdto your GitHub repository.
- Push all Markdown files,
- Enable Docsify-This Compatibility:
- Include a
.nojekyllfile in the repository to ensure GitHub Pages doesn’t interfere with Docsify-This.
- Include a
- Upload Files:
- Deploy only the
index.htmland.nojekyllfiles to Archethic's aeHosting.
- Deploy only the
- Deployment on Testnet:
- Use Archethic's testnet interface to upload the files.
- Verify that the deployment is successful and the site is accessible via the provided link.
- Make Changes Locally:
- Update any Markdown file in the GitHub repository (e.g., modify
home.mdor add a new file).
- Update any Markdown file in the GitHub repository (e.g., modify
- Verify Updates:
- Check the deployed site after a few minutes to confirm that the changes are reflected without needing manual redeployment.
- Responsive Design:
- Test the site's responsiveness on various devices (desktop, tablet, mobile).
- Performance:
- Check loading speed and ensure seamless navigation.
Perform relevant tests to verify dynamic updates as listed below:
| Test Description | Expected Outcome | Status |
|---|---|---|
Add a table to list tests that can be done in home.md and push it to the GitHub source. |
The table is displayed on the browser after a refresh of the page and few minutes after the push | ✅ |
| Add all Markdown files to manage the French version of this website, and link it accordingly. | The French version of the website is displayed after clicking on the "Français" link in the navigation menu. | ❌ |
Modify the sidebar content in _sidebar.md. |
The updated sidebar is reflected across all pages without requiring a redeployment. | ✅ |
| Add more details in the "Deployment Process" section. | The new details are displayed as expected. | ✅ |
| Test the responsiveness of the site after updates on smartphones. | The site remains responsive and accessible on various devices (desktop, tablet, mobile). | ✅ |
| Add images to the "Deployment Process" section and push them to the GitHub source. | The images appear correctly on the site without requiring further adjustments. | ⏳ |
Test navigation links in _navbar.md for internal and external redirects. |
All navigation links work as expected, pointing to the correct pages or external sites. | ⏳ |
Add a new Markdown file results.md and link it in _sidebar.md. |
The "Results" page is accessible via the sidebar, and its content displays correctly. | ⏳ |
Update index.html to include dependencies for a new JavaScript file to manage CSS styles dynamically. |
The site design updates dynamically without requiring redeployment. | ⏳ |
During the testing process, we will note:
- The efficiency of dynamic updates.
- How well Docsify-This integrates with aeHosting.
For detailed results, including advantages and limitations, please visit the Results page.