mirror of
https://github.com/inventree/inventree-website.git
synced 2026-11-29 01:14:30 +00:00
Zensical Refactor (#300)
* refactor into zensical * adjust nav layout * more nav changes * update features page * open external hero links in new tab * consolidate small pages * add legacy page redirects * tweak content * further cleanup * adjust netlify config * disable redirect * remove redirect script * fix tag splitting for plugins * Display plugin metadata on left-hand side * revert icon changes * move gallery to index page * Add page deascriptions * fix image size for carousel * adjust theme
This commit is contained in:
1 parent
372cc20788
commit
dd7d563e79
347 files changed
+3009
-17807
No files matched your search
@@ -5,7 +5,7 @@ from urllib.request import urlopen, Request
|
||||
|
||||
inp_project = os.environ.get('PROJECT').strip()
|
||||
inp_author = os.environ.get('AUTHOR').strip()
|
||||
file_name = Path(f'_repo/{inp_project}.md')
|
||||
file_name = Path(f'docs/plugins/{inp_project}.md')
|
||||
crowdin_projet_id = 452300
|
||||
|
||||
print(f'Collecting {inp_project} with {inp_author}...')
|
||||
@@ -39,7 +39,8 @@ except:
|
||||
stable = False
|
||||
bugtracker = pypi_data['info']['bugtrack_url'] or pypi_data['info']['project_urls'].get('Bug Tracker') or ''
|
||||
homepage = pypi_data['info']['home_page'] or pypi_data['info']['project_urls'].get('Homepage')
|
||||
keywords = pypi_data['info']['keywords']
|
||||
keywords = pypi_data['info']['keywords'] or ''
|
||||
tags = ''.join(f'\n - {k.strip()}' for k in keywords.replace(',', ' ').split() if k.strip())
|
||||
readme = pypi_data['info']['description']
|
||||
|
||||
# Write data
|
||||
@@ -49,17 +50,17 @@ name: {name}
|
||||
author: {author}
|
||||
license: {license}
|
||||
open_source: true
|
||||
stable: {stable}
|
||||
stable: {str(stable).lower()}
|
||||
maintained: true
|
||||
pypi: true
|
||||
package_name: {name}
|
||||
github: {homepage}
|
||||
gitlab:
|
||||
source:
|
||||
issue_tracker:{bugtracker}
|
||||
issue_tracker: {bugtracker}
|
||||
website:
|
||||
categories:
|
||||
tags: {keywords}
|
||||
tags:{tags}
|
||||
---
|
||||
{tagline}
|
||||
|
||||
|
||||
Reference in new issue
Block a user