Browse Source

inizia la giostra

les 4 years ago
commit
91946e8765

+ 26 - 0
docs/index.md

@@ -0,0 +1,26 @@
+# HackЯocchio
+## 4 e 5 Aprile 2020 - C.S.O.A. Gabrio, Torino
+
+Due giorni di smanettamenti, autoformazione, workshop, seminari,
+riappropriazione dei saperi, hacking e cattivi odori.
+
+Costruire comunità resistenti complici nelle lotte, saldare relazioni di
+fiducia tra le moltitudini sommerse nell'estrattivismo cognitivo, riuscire ad
+immaginare e a costruire tecnologie conviviali che sostituiscano le
+megamacchine digitali. Non promettiamo la rivoluzione ma il crepuscolo degli dei,
+per farlo inietteremo lo shellcode nel paese reale, andando nelle case ma
+sopratutto nei cuori di chi ancora ci crede, a decifrare le blockchain corrotte
+di un sistema che nulla ha più di umano se non la scalabilità del vostro 
+frigorifero nel cloud, insomma, in una parola, quantum machine learning :)
+
+se non ci hai capito molto, neanche noi, ma puoi trovare più informazioni
+premendo <a href='info' class='p-0 pl-1 pr-1 btn btn-primary'>VOGLIO PIÙ INFO E ACCETTO O NON ACCETTO TANTO FA UGUALE</a>
+oppure <button  data-toggle="modal" data-target="#credere" class='p-0 pl-1 pr-1 mt-1 btn btn-danger'>SEGUENDOCI SUI NOSTRI SOCIAL</button>
+
+<div class='modal fade' id='credere'>
+  <div class='modal-dialog'>
+    <div class='modal-content'>
+        <button type="button" class="btn btn-danger" data-dismiss="modal">Ci ho creduto</button>
+    </div>
+  </div>
+</div>

+ 22 - 0
docs/info.md

@@ -0,0 +1,22 @@
+ehm, stiamo delineando i dettagli, nel frattempo segnatevi le date sull'agenda,
+organizzate le vostre carovane, preparate i vostri migliori tricks e mandateci
+i vostri contributi.
+
+vi teniamo aggiornati/e
+
+<!-- 
+
+#### Quando
+Sabato 4 e Domenica 5 Aprile 2020
+
+#### Dove
+C.S.O.A. Gabrio, Via Francesco Millio 42 – Zona San Paolo Antirazzista – 10141 – Torino
+
+
+ -->
+<!-- #### Arrivare
+
+Dalle stazioni:
+Prendere la linea 58B in direzione Salvemini per 9 fermate.
+Scendere alla fermata 1940 – SPALATO (V.BOBBIO / V.SPALATO)
+– Porta Susa: prendere il 55 e scendere alla fermata ROBBILANT SUD -->

+ 43 - 0
mkdocs.yml

@@ -0,0 +1,43 @@
+site_name: hackrocchio
+site_description: 'Antani sblinda'
+site_author: 'underscore hacklab'
+
+theme:
+  name: null
+  custom_dir: 'theme'
+  feature:
+      tabs: true
+  palette:
+    primary: black
+    accent: red
+  font: false
+  language: 'it'
+
+extra:
+  search:
+    language: 'it'
+  social:
+    facebook: svlinda
+    twitter: sdg
+
+markdown_extensions:
+  - pymdownx.magiclink
+  - admonition
+  - codehilite:
+      guess_lang: false
+  # - toc:
+  #     permalink: true
+
+extra_css:
+  - css/blackout.css
+plugins:
+  - search
+    #  - pdf-export:
+    #  combined: true
+
+    # - Comunicazione Interna:
+    # - Comunicazione esterna:
+
+nav:
+  - Home: index.md
+  - Info: info.md

+ 9 - 0
theme/404.html

@@ -0,0 +1,9 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+  <h1 id="404-page-not-found">404</h1>
+
+  <p><strong>Page not found</strong></p>
+
+{% endblock %}

+ 0 - 0
theme/__init__.py


+ 84 - 0
theme/base.html

@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  {%- block site_meta %}
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  {% if page and page.is_homepage %}<meta name="description" content="{{ config.site_description }}">{% endif %}
+  {% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
+  {% if config.site_favicon %}<link rel="shortcut icon" href="{{ config.site_favicon|url }}">
+  {% else %}<link rel="shortcut icon" href="{{ 'img/favicon.ico'|url }}">{% endif %}
+  {%- endblock %}
+
+  {%- block htmltitle %}
+  <title>{% if page and page.title and not page.is_hompage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
+  {%- endblock %}
+
+  {%- block styles %}
+  <link rel="stylesheet" href="{{ base_url }}/css/bootstrap.min.css" type="text/css" />
+  <link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" />
+  {%- endblock %}
+
+  {%- block libs %}
+  {% if page %}
+  <script>
+    // Current page data
+    var mkdocs_page_name = {{ page.title|tojson|safe }};
+    var mkdocs_page_input_path = {{ page.file.src_path|string|tojson|safe }};
+    var mkdocs_page_url = {{ page.abs_url|tojson|safe }};
+  </script>
+  {% endif %}
+  {%- endblock %}
+
+</head>
+
+<body class="bg-dark p-5 text-light container" role="document">
+
+    {# SIDE NAV, TOGGLES ON MOBILE #}
+    <nav class='bg-dark navbar navbar-expand-sm bg-light'>
+      <ul class="navbar-nav">
+
+      {%- block site_nav %}
+        {% for nav_item in nav %}
+          <!-- <li class="toctree-l{{ navlevel }}{% if nav_item.active and not nav_item.children %} current{%endif%}"> -->
+          <!-- <li class="nav-item btn btn-danger ml-1"> -->
+            <a href="{{ nav_item.url|url }}" class="mr-2 mt-1 p-1 pr-2 pl-2 btn btn-danger nav-link text-light">{{nav_item.title}}</a>
+          <!-- </li> -->
+        {% endfor %}
+      </ul>
+      {%- endblock %}
+    </nav>
+
+
+    {# PAGE CONTENT #}
+    <div role="main">
+      <div class="mt-4 section">
+        {% block content %}
+          {{ page.content }}
+        {% endblock %}
+      </div>
+    </div>
+    {%- block footer %}
+      {% include "footer.html" %}
+    {% endblock %}
+
+
+
+
+  {%- block scripts %}
+  <script src="{{base_url}}/js/jquery-3.4.1.slim.min.js"></script>
+  <script src="{{base_url}}/js/popper.min.js"></script>
+  <script src="{{base_url}}/js/bootstrap.min.js"></script>
+    <script>var base_url = '{{ base_url }}';</script>
+  {%- endblock %}
+
+</body>
+</html>
+{% if page and page.is_homepage %}
+<!--
+MkDocs version : {{ mkdocs_version }}
+Build Date UTC : {{ build_date_utc }}
+-->
+{% endif %}

+ 30 - 0
theme/breadcrumbs.html

@@ -0,0 +1,30 @@
+<div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="{{ nav.homepage.url|url }}">Docs</a> &raquo;</li>
+    {% if page %}
+      {% for doc in page.ancestors %}
+        {% if doc.link %}
+          <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
+        {% else %}
+          <li>{{ doc.title }} &raquo;</li>
+        {% endif %}
+      {% endfor %}
+    {% endif %}
+    {% if page %}<li>{{ page.title }}</li>{% endif %}
+    <li class="wy-breadcrumbs-aside">
+      {%- block repo %}
+      {% if page and page.edit_url %}
+        <a href="{{ page.edit_url }}"
+        {%- if config.repo_name|lower == 'github' %}
+          class="icon icon-github"
+        {%- elif config.repo_name|lower == 'bitbucket' %}
+          class="icon icon-bitbucket"
+        {%- elif config.repo_name|lower == 'gitlab' %}
+          class="icon icon-gitlab"
+        {% endif %}> Edit on {{ config.repo_name }}</a>
+      {% endif %}
+      {%- endblock %}
+    </li>
+  </ul>
+  <hr/>
+</div>

File diff suppressed because it is too large
+ 5 - 0
theme/css/bootstrap.min.css


+ 19 - 0
theme/css/theme.css

@@ -0,0 +1,19 @@
+html, body {
+  font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;
+  /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
+  font-size: 1.1rem;
+  background-color: #222;
+  /* color: #fff; */
+}
+
+h1, h2, h3, h4 {
+  /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
+  /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
+  /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
+  font-family: Verdana, Geneva, Tahoma, sans-serif;
+  font-weight: bold;
+}
+
+a {
+  color: orange;
+}

+ 197 - 0
theme/css/theme_extra.css

@@ -0,0 +1,197 @@
+/*
+ * Sphinx doesn't have support for section dividers like we do in
+ * MkDocs, this styles the section titles in the nav
+ *
+ * https://github.com/mkdocs/mkdocs/issues/175
+ */
+.wy-menu-vertical span {
+    line-height: 18px;
+    padding: 0.4045em 1.618em;
+    display: block;
+    position: relative;
+    font-size: 90%;
+    color: #838383;
+}
+
+.wy-menu-vertical .subnav a {
+    padding: 0.4045em 2.427em;
+}
+
+/*
+ * Long navigations run off the bottom of the screen as the nav
+ * area doesn't scroll.
+ *
+ * https://github.com/mkdocs/mkdocs/pull/202
+ *
+ * Builds upon pull 202 https://github.com/mkdocs/mkdocs/pull/202
+ * to make toc scrollbar end before navigations buttons to not be overlapping.
+ */
+.wy-nav-side {
+    height: calc(100% - 45px);
+    overflow-y: auto;
+    min-height: 0;
+}
+
+.rst-versions{
+    border-top: 0;
+    height: 45px;
+}
+
+@media screen and (max-width: 768px) {
+    .wy-nav-side {
+        height: 100%;
+    }
+}
+
+/*
+ * readthedocs theme hides nav items when the window height is
+ * too small to contain them.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/#348
+ */
+.wy-menu-vertical ul {
+  margin-bottom: 2em;
+}
+
+/*
+ * Wrap inline code samples otherwise they shoot of the side and
+ * can't be read at all.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/313
+ * https://github.com/mkdocs/mkdocs/issues/233
+ * https://github.com/mkdocs/mkdocs/issues/834
+ */
+code {
+    white-space: pre-wrap;
+    word-wrap: break-word;
+    padding: 2px 5px;
+}
+
+/**
+ * Make code blocks display as blocks and give them the appropriate
+ * font size and padding.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/855
+ * https://github.com/mkdocs/mkdocs/issues/834
+ * https://github.com/mkdocs/mkdocs/issues/233
+ */
+pre code {
+  white-space: pre;
+  word-wrap: normal;
+  display: block;
+  padding: 12px;
+  font-size: 12px;
+}
+
+/*
+ * Fix link colors when the link text is inline code.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/718
+ */
+a code {
+    color: #2980B9;
+}
+a:hover code {
+    color: #3091d1;
+}
+a:visited code {
+    color: #9B59B6;
+}
+
+/*
+ * The CSS classes from highlight.js seem to clash with the
+ * ReadTheDocs theme causing some code to be incorrectly made
+ * bold and italic.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/411
+ */
+pre .cs, pre .c {
+    font-weight: inherit;
+    font-style: inherit;
+}
+
+/*
+ * Fix some issues with the theme and non-highlighted code
+ * samples. Without and highlighting styles attached the
+ * formatting is broken.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/319
+ */
+.no-highlight {
+  display: block;
+  padding: 0.5em;
+  color: #333;
+}
+
+
+/*
+ * Additions specific to the search functionality provided by MkDocs
+ */
+
+.search-results {
+    margin-top: 23px;
+}
+
+.search-results article {
+    border-top: 1px solid #E1E4E5;
+    padding-top: 24px;
+}
+
+.search-results article:first-child {
+    border-top: none;
+}
+
+form .search-query {
+    width: 100%;
+    border-radius: 50px;
+    padding: 6px 12px;  /* csslint allow: box-model */
+    border-color: #D1D4D5;
+}
+
+.wy-menu-vertical li ul {
+    display: inherit;
+}
+
+.wy-menu-vertical li ul.subnav ul.subnav{
+    padding-left: 1em;
+}
+
+.wy-menu-vertical .subnav li.current > a {
+    padding-left: 2.42em;
+}
+.wy-menu-vertical .subnav li.current > ul li a {
+    padding-left: 3.23em;
+}
+
+/*
+ * Improve inline code blocks within admonitions.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/656
+ */
+ .admonition code {
+  color: #404040;
+  border: 1px solid #c7c9cb;
+  border: 1px solid rgba(0, 0, 0, 0.2);
+  background: #f8fbfd;
+  background: rgba(255, 255, 255, 0.7);
+}
+
+/*
+ * Account for wide tables which go off the side.
+ * Override borders to avoid wierdness on narrow tables.
+ *
+ * https://github.com/mkdocs/mkdocs/issues/834
+ * https://github.com/mkdocs/mkdocs/pull/1034
+ */
+.rst-content .section .docutils {
+    width: 100%;
+    overflow: auto;
+    display: block;
+    border: none;
+}
+
+td, th {
+   border: 1px solid #e1e4e5 !important; /* csslint allow: important */
+   border-collapse: collapse;
+}
+

+ 3 - 0
theme/footer.html

@@ -0,0 +1,3 @@
+<footer>
+
+</footer>

BIN
theme/img/favicon.ico


File diff suppressed because it is too large
+ 5 - 0
theme/js/bootstrap.min.js


File diff suppressed because it is too large
+ 1 - 0
theme/js/jquery-3.4.1.slim.min.js


File diff suppressed because it is too large
+ 3 - 0
theme/js/popper.min.js


+ 105 - 0
theme/js/theme.js

@@ -0,0 +1,105 @@
+$( document ).ready(function() {
+    // Shift nav in mobile when clicking the menu.
+    $(document).on('click', "[data-toggle='wy-nav-top']", function() {
+      $("[data-toggle='wy-nav-shift']").toggleClass("shift");
+      $("[data-toggle='rst-versions']").toggleClass("shift");
+    });
+
+    // Close menu when you click a link.
+    $(document).on('click', ".wy-menu-vertical .current ul li a", function() {
+      $("[data-toggle='wy-nav-shift']").removeClass("shift");
+      $("[data-toggle='rst-versions']").toggleClass("shift");
+    });
+
+    // Keyboard navigation
+    document.addEventListener("keydown", function(e) {
+      var key = e.which || e.keyCode || window.event && window.event.keyCode;
+      var page;
+      switch (key) {
+          case 78:  // n
+              page = $('[role="navigation"] a:contains(Next):first').prop('href');
+              break;
+          case 80:  // p
+              page = $('[role="navigation"] a:contains(Previous):first').prop('href');
+              break;
+          case 13:  // enter
+              if (e.target === document.getElementById('mkdocs-search-query')) {
+                e.preventDefault();
+              }
+              break;
+          default: break;
+      }
+      if ($(e.target).is(':input')) {
+        return true;
+      } else if (page) {
+        window.location.href = page;
+      }
+    });
+
+    $(document).on('click', "[data-toggle='rst-current-version']", function() {
+      $("[data-toggle='rst-versions']").toggleClass("shift-up");
+    });
+
+    // Make tables responsive
+    $("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
+
+    $('table').addClass('docutils');
+});
+
+window.SphinxRtdTheme = (function (jquery) {
+    var stickyNav = (function () {
+        var navBar,
+            win,
+            stickyNavCssClass = 'stickynav',
+            applyStickNav = function () {
+                if (navBar.height() <= win.height()) {
+                    navBar.addClass(stickyNavCssClass);
+                } else {
+                    navBar.removeClass(stickyNavCssClass);
+                }
+            },
+            enable = function () {
+                applyStickNav();
+                win.on('resize', applyStickNav);
+            },
+            init = function () {
+                navBar = jquery('nav.wy-nav-side:first');
+                win    = jquery(window);
+            };
+        jquery(init);
+        return {
+            enable : enable
+        };
+    }());
+    return {
+        StickyNav : stickyNav
+    };
+}($));
+
+// The code below is a copy of @seanmadsen code posted Jan 10, 2017 on issue 803.
+// https://github.com/mkdocs/mkdocs/issues/803
+// This just incorporates the auto scroll into the theme itself without
+// the need for additional custom.js file.
+//
+$(function() {
+  $.fn.isFullyWithinViewport = function(){
+      var viewport = {};
+      viewport.top = $(window).scrollTop();
+      viewport.bottom = viewport.top + $(window).height();
+      var bounds = {};
+      bounds.top = this.offset().top;
+      bounds.bottom = bounds.top + this.outerHeight();
+      return ( ! (
+        (bounds.top <= viewport.top) ||
+        (bounds.bottom >= viewport.bottom)
+      ) );
+  };
+  if( $('li.toctree-l1.current').length && !$('li.toctree-l1.current').isFullyWithinViewport() ) {
+    $('.wy-nav-side')
+      .scrollTop(
+        $('li.toctree-l1.current').offset().top -
+        $('.wy-nav-side').offset().top -
+        60
+      );
+  }
+});

+ 10 - 0
theme/main.html

@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{#
+The entry point for the ReadTheDocs Theme.
+ 
+Any theme customisations should override this file to redefine blocks defined in
+the various templates. The custom theme should only need to define a main.html
+which `{% extends "base.html" %}` and defines various blocks which will replace
+the blocks defined in base.html and its included child templates.
+#}

+ 7 - 0
theme/mkdocs_theme.yml

@@ -0,0 +1,7 @@
+# Config options for 'readthedocs' theme
+
+static_templates:
+    - 404.html
+
+include_search_page: true
+search_index_only: false

+ 22 - 0
theme/nav.html

@@ -0,0 +1,22 @@
+{%- if nav_item.is_section %}
+    <span class="caption-text">{{ nav_item.title }}</span>
+{%- else %}
+    <a class="{% if nav_item.active%}current{%endif%}" href="{{ nav_item.url|url }}">{{ nav_item.title }}</a>
+{%- endif %}
+
+{%- if nav_item == page or nav_item.children %}
+    <ul class="subnav">
+        {%- if nav_item == page %}
+            {% include 'toc.html' %}
+        {%- endif %}
+        {%- if nav_item.children %}
+            {%- set navlevel = navlevel + 1%}
+            {%- for nav_item in nav_item.children %}
+                <li class="{% if navlevel > 2 %}toctree-l{{ navlevel }}{% endif %}{% if nav_item.active%} current{%endif%}">
+                    {% include 'nav.html' %}
+                </li>
+            {%- endfor %}
+            {%- set navlevel = navlevel - 1%}
+        {%- endif %}
+    </ul>
+{%- endif %}

+ 16 - 0
theme/search.html

@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+  <h1 id="search">Search Results</h1>
+
+  <form id="content_search" action="search.html">
+    <span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
+    <input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off" autofocus title="Type search term here">
+  </form>
+
+  <div id="mkdocs-search-results" class="search-results">
+    Searching...
+  </div>
+
+{% endblock %}

+ 5 - 0
theme/searchbox.html

@@ -0,0 +1,5 @@
+<div role="search">
+  <form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get">
+    <input type="text" name="q" placeholder="Search docs" title="Type search term here" />
+  </form>
+</div>

+ 10 - 0
theme/toc.html

@@ -0,0 +1,10 @@
+{% for toc_item in page.toc %}
+    <li class="toctree-l{{ navlevel + 1 }}"><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+    {% if toc_item.children %}
+        <ul>
+        {% for toc_item in toc_item.children %}
+            <li><a class="toctree-l{{ navlevel + 2 }}" href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
+        {% endfor %}
+        </ul>
+    {% endif %}
+{% endfor %}

+ 17 - 0
theme/versions.html

@@ -0,0 +1,17 @@
+<div class="rst-versions" role="note" style="cursor: pointer">
+    <span class="rst-current-version" data-toggle="rst-current-version">
+      {% if config.repo_name == 'GitHub' %}
+          <a href="{{ config.repo_url }}" class="fa fa-github" style="float: left; color: #fcfcfc"> GitHub</a>
+      {% elif config.repo_name == 'Bitbucket' %}
+          <a href="{{ config.repo_url }}" class="icon icon-bitbucket" style="float: left; color: #fcfcfc"> BitBucket</a>
+      {% elif config.repo_name == 'GitLab' %}
+          <a href="{{ config.repo_url }}" class="icon icon-gitlab" style="float: left; color: #fcfcfc"> GitLab</a>
+      {% endif %}
+      {% if page.previous_page %}
+        <span><a href="{{ page.previous_page.url|url }}" style="color: #fcfcfc;">&laquo; Previous</a></span>
+      {% endif %}
+      {% if page.next_page %}
+        <span style="margin-left: 15px"><a href="{{ page.next_page.url|url }}" style="color: #fcfcfc">Next &raquo;</a></span>
+      {% endif %}
+    </span>
+</div>

Some files were not shown because too many files changed in this diff