Skip to content

Commit

Permalink
Config and adjustments for social cards
Browse files Browse the repository at this point in the history
  • Loading branch information
miniscruff committed Dec 1, 2024
1 parent 56b65c9 commit dbd7af5
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 19 deletions.
4 changes: 4 additions & 0 deletions docs/examples/discord_permissions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: How to create a discord server like authorization system using scopie.
---

# Discord Permissions

Discord users role based authorization for server administration.
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/github_token.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: How to create a github like authorization system using scopie.
---

# GitHub Access Tokens

If you ever needed to create an [access token for GitHub](https://github.com/settings/tokens/new)
Expand Down
4 changes: 4 additions & 0 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Different styles of authorization systems built around scopie.
---

# Examples
Scope and rules for sample projects.

Expand Down
1 change: 1 addition & 0 deletions docs/implementations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
hide:
- navigation
- toc
title: Scopie language implementations
---

# Official Implementations
Expand Down
4 changes: 4 additions & 0 deletions docs/specification/bnf.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Scopie in BNF syntax
---

# BNF Notation
[Backus Naur Form](https://www.geeksforgeeks.org/bnf-notation-in-compiler-design/) notation of the scopie
parsing rules.
Expand Down
4 changes: 4 additions & 0 deletions docs/specification/errors.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Explanation and list of all scopie error codes.
---

# Errors

When validating a scope or trying to process a scope or rule that has an incorrect format we return or throw errors.
Expand Down
4 changes: 4 additions & 0 deletions docs/specification/functions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: What functions are defined by scopie.
---

# Functions

Scopie is designed to work in any language and in virtually any system that can use authorization.
Expand Down
4 changes: 4 additions & 0 deletions docs/specification/logic.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
description: Definitions and reasonings behind some scopie edge cases.
---

# Allow rules

Scopie flow works as a nested for loop iterating over the actor rules and action scopes.
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ theme:
repo: simple/github
plugins:
- search
- social
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
Expand Down
47 changes: 28 additions & 19 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
Babel==2.16.0
certifi==2024.8.30
charset-normalizer==3.4.0
Babel==2.14.0
cairocffi==1.7.1
CairoSVG==2.7.1
certifi==2024.2.2
cffi==1.17.1
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
cssselect2==0.7.0
defusedxml==0.7.1
ghp-import==2.1.0
idna==3.10
Jinja2==3.1.4
Markdown==3.7
MarkupSafe==3.0.2
idna==3.6
Jinja2==3.1.3
Markdown==3.6
MarkupSafe==2.1.5
mergedeep==1.3.4
mkdocs==1.6.1
mkdocs-material==9.5.46
mkdocs==1.5.3
mkdocs-material==9.5.14
mkdocs-material-extensions==1.3.1
packaging==24.2
paginate==0.5.7
packaging==24.0
paginate==0.5.6
pathspec==0.12.1
platformdirs==4.3.6
Pygments==2.18.0
pymdown-extensions==10.12
pillow==10.4.0
platformdirs==4.2.0
pycparser==2.22
Pygments==2.17.2
pymdown-extensions==10.7.1
python-dateutil==2.9.0.post0
PyYAML==6.0.2
PyYAML==6.0.1
pyyaml_env_tag==0.1
regex==2024.11.6
requests==2.32.3
regex==2023.12.25
requests==2.31.0
six==1.16.0
urllib3==2.2.3
watchdog==6.0.0
tinycss2==1.4.0
urllib3==2.1.0
watchdog==4.0.0
webencodings==0.5.1

0 comments on commit dbd7af5

Please sign in to comment.