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
3 changes: 2 additions & 1 deletion docs/app/README.md → docs/archive/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_position: 2
---

# PoliFemoDocs
# PoliFemo

ogni file deve essere leggibile dentro a VScode quindi bisogna usare md per tutti i documenti di testo
se si utilizzano estensioni particolari che risulatno essenzali bisogna inserirle dentro a questo README nella sezione apposita.
Expand All @@ -12,4 +12,5 @@ se si utilizzano estensioni particolari che risulatno essenzali bisogna inserirl
## Design

per visualizzare i colori nella cartella design\palette e' consigliato scaricare _Color Highlight_

https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# inserisci.py

```python

import os
import mysql.connector as database
import json
Expand Down Expand Up @@ -42,7 +46,7 @@
data[i]["id"] = json.dumps(data[i]["id"])
data[i]["id_link"] = json.dumps(data[i]["id_link"])

string = "INSERT IGNORE INTO gruppo VALUES ("+ data[i]["class"] + ", '"+ data[i]["office"] + "', "+ data[i]["id"] + ", '"+ data[i]["degree"] + "','"+ data[i]["school"] + "',"+ data[i]["id_link"] + ",'"+ data[i]["language"] + "','"+ data[i]["type"] + "', '"+ data[i]["year"] + "', '"+ data[i]["platform"] + "', '"+ data[i]["permanentId"] + "', '"+ data[i]["LastUpdateInviteLinkTime"] + "', '"+ data[i]["linkfunzionante"] + "');";
string = "INSERT IGNORE INTO Groups VALUES ("+ data[i]["class"] + ", '"+ data[i]["office"] + "', "+ data[i]["id"] + ", '"+ data[i]["degree"] + "','"+ data[i]["school"] + "',"+ data[i]["id_link"] + ",'"+ data[i]["language"] + "','"+ data[i]["type"] + "', '"+ data[i]["year"] + "', '"+ data[i]["platform"] + "', '"+ data[i]["permanentId"] + "', '"+ data[i]["LastUpdateInviteLinkTime"] + "', '"+ data[i]["linkfunzionante"] + "');";
replace = string.replace("''", "NULL")
cursor.execute(replace)
connection.commit()
Expand All @@ -53,3 +57,4 @@
print(f"string error: {e}")
print(data[i]["class"])

```
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Per la documentazione tecnica si può usare Markdown in combinazione con mermaid

Esempio:

````markdown
```mermaid
classDiagram

Expand All @@ -27,6 +28,7 @@ class Estensione {
Estensione *-- Tipo
Estensione <|-- Classe
```
````

Risultato:

Expand Down
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions docs/archive/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
sidebar_position: 1
title: Archived Projects 🗃️
description: Collection of documentations for archived projects and repositories.
---
In this section, you will find documentations for archived projects and repositories.
These projects are no longer actively maintained or have been deprecated. However,
the documentation is preserved for reference purposes and can be valuable for
understanding past developments and decisions.

:::warning
None of these documents are actively maintained. The information provided may be
outdated or inaccurate.

Note that no modifications or updates will probably be made to these documents,
and they might be removed in the future.
:::

:::info
**THIS IS JUST A DOCUMENT DUMP**

Please don't report issues or PRs on this section, we are already busy as it is 🙃
:::
9 changes: 5 additions & 4 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ We run our infrastructure on Azure (paid with the
If you want to learn how it works and how to add new services, check out the
[Infrastructure](/docs/infrastructure/Introduction) section.

## Polifemo
## Archived Projects 🗃️

This was an old app we wanted to build back when the official PoliMi app was
not as good as it is now. We never finished it, but you can still check out
the [Polifemo](/docs/app) section to see what we had in mind.
In this section, you will find documentations for archived projects and repositories.
These projects are no longer actively maintained or have been deprecated. However,
the documentation is preserved for reference purposes and can be valuable for
understanding past developments and decisions. [Have at it!](/docs/archive)
8 changes: 4 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ const config: Config = {
{
type: 'docSidebar',
position: 'left',
sidebarId: 'polifemo',
label: 'Polifemo (deprecated)',
sidebarId: 'archive',
label: 'Archived Projects 🗃️',
},
{
href: 'https://github.com/polinetworkorg/docs',
Expand All @@ -101,8 +101,8 @@ const config: Config = {
to: '/docs/infrastructure/Introduction',
},
{
label: 'Polifemo (deprecated)',
to: '/docs/app',
label: 'Archived Projects 🗃️',
to: '/docs/archive',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)

const sidebars: SidebarsConfig = {
polifemo: [{ type: 'autogenerated', dirName: 'app' }],
archive: [{ type: 'autogenerated', dirName: 'archive' }],
infra: [
{
type: 'autogenerated',
Expand Down