mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
First working version of plugin
This commit is contained in:
@@ -5,7 +5,7 @@ from flask_menu import register_menu
|
||||
def init_app(app):
|
||||
"""Initialize application."""
|
||||
|
||||
@app.route("/amdmodel_landing")
|
||||
@app.route("/amdmodel")
|
||||
@register_menu(app, ".main.amdmodel", "About AM-D-Model")
|
||||
def redirect_to_amdmodel():
|
||||
"""Redirect to the AM-D-Model website."""
|
||||
|
||||
@@ -2,7 +2,7 @@ from setuptools import setup
|
||||
|
||||
setup(
|
||||
name="custom_invenio_plugin",
|
||||
version="0.1.0",
|
||||
version="1.0.0",
|
||||
packages=["custom_invenio_plugin"],
|
||||
entry_points={
|
||||
"invenio_base.apps": [
|
||||
|
||||
Reference in New Issue
Block a user