GithubHelp home page GithubHelp logo

reznikmm / learn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adacore/learn

0.0 1.0 1.0 48.58 MB

Sources for learn.adacore.com

License: Creative Commons Attribution 4.0 International

Ada 94.26% Shell 0.01% Python 2.79% Dockerfile 0.03% C 0.01% Makefile 0.26% HTML 0.21% TypeScript 1.99% SCSS 0.35% JavaScript 0.10% CSS 0.01%

learn's Introduction

Перевод learn.adacore.com

В этой ветке (ru)

  • перевод книги "Introduction to Ada" (спасибо Сергею за этот тяжелый труд!). Я попытался привести терминологию к используемой в стандарте Ада 83 (хоть и не смог назвать record type именоваными типами, а arrays индексированными) и сгладить стиль.
  • перевод брошюры «Безопасное и надежное программное обеспечение на примере языка Ада 2012, SPARK 2014» Джона Барнса.

Что можно улучшить:

  • Хорошо бы перевести комментарии или подставить перевод комментариев из текста Сергея. Они исчезли при восстановлении RST форматирования, т.к. я взял все вставки кода из оригинала.
  • Перевести еще один курс, например, еще не готовое продолжение Advanced Ada
  • Переделать в RST перевод Сергея "Ада для Java/C++ разработчиков"

Присылайте ваши изменения в виде pull requests.

Последняя редакция доступна на GitHub Pages в формате HTML, PDF и MOBI.

learn.adacore.com

Sources for AdaCore's learn.adacore.com website


Typescript Test Suite Sphinx Plugin Tests Sphinx Content Tests

Requirements

This project requires Vagrant and VirtualBox

Getting started

To setup for development run:

$ vagrant up

This will spin up three vms:

web: Is the the build system for the frontend web content. This includes the webpack build system and sphinx build.

server: Is the backend server with the widget API.

epub: Is the publishing server. This includes all packages needed to generate the learn website.

To build and start the development server for the frontend, run:

$ vagrant ssh web

# The following commands will be run inside the vm

$ source /vagrant/venv/bin/activate
$ cd /vagrant/frontend
$ yarn run dev

This will run webpack on the typescript and scss, then sphinx for the rst using make local which will point the widgets at 127.0.0.1:8000

You can then point your browser on your host to 127.0.0.1:8080 to see the learn website being served from vagrant.

To build and start the development server for the backend, run:

$ vagrant ssh server

# The following commands will be run inside the vm

$ cd /vagrant
$ source venv/bin/activate
$ ./dev_server.sh

You can use ctrl-c to quit the bash script which will kill both the flask and celery processes.

To build and start the publishing server, run:

$ vagrant ssh epub

# The following commands will be run inside the vm

$ cd /vagrant
$ source venv/bin/activate
$ make site

This will build the content for the learn website. You can find it in the /vagrant/frontend/dist directory.

learn's People

Contributors

96radhikajadhav avatar aaronj1335 avatar anisimkov avatar clairedross avatar darthmartyn avatar dependabot[bot] avatar enzbang avatar fabien-chouteau avatar filip-gajowniczek-adacore avatar frank-at-adacore avatar franklinchen avatar gusthoff avatar heziode avatar jstuyts avatar kilian-gebhardt avatar manthonyaiello avatar marlonjames avatar opimedia avatar pat-rogers avatar pierretr avatar raph-amiard avatar rasheedja avatar reznikmm avatar richardkenner avatar robert-tice avatar setton avatar spanners avatar timmyjose avatar tofgarion avatar yannickmoy avatar

Watchers

 avatar

Forkers

anisimkov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.