Skip to content

Commit 6d55cd0

Browse files
matteob99MarcoBuster
authored andcommitted
Changed site from botogram.pietroalbini.org to botogram.dev, changed old years text to 2019, changed authors page, add Dockerfile for build docsPorting (#119)
* Changed site from botogram.pietroalbini.org to botogram.dev, changed old years text to 2019, changed authors page, add Dockerfile for build docs * re-upload netlify.toml * add license to dockerfile and fix copyright in docs/conf.py * Fixed capitalization letters in Dockerfile * Add trailing newline in netlify.toml
1 parent df60f43 commit 6d55cd0

File tree

109 files changed

+139
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+139
-111
lines changed

Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
2+
# Documentation released under the MIT license (see LICENSE)
3+
4+
# Image to build doc
5+
FROM python:3.6-alpine3.6 as BUILDER
6+
RUN apk update \
7+
&& apk add git bash make
8+
RUN pip install invoke virtualenv
9+
COPY ./requirements-docs.txt /requirements-docs.txt
10+
RUN pip install -r /requirements-docs.txt
11+
COPY ./ /botogram
12+
RUN cd /botogram && invoke docs && cd .netlify && make
13+
14+
RUN apk add tree
15+
RUN tree /botogram/.netlify/build
16+
17+
# Image final
18+
FROM nginx:latest
19+
ENV botogram_version dev
20+
RUN rm /etc/nginx/conf.d/default.conf
21+
ADD https://gist.githubusercontent.com/matteb99/4ab0dffc07558273401220f3e0426f5a/raw/7fc18180327f57b6ab8bbbad9f629a0e5955a4a1/gistfile1.txt /etc/nginx/conf.d/default.conf
22+
RUN sed 's/RELEASE/'"$botogram_version"'/g' -i /etc/nginx/conf.d/default.conf
23+
COPY --from=BUILDER /botogram/.netlify/build/ ./botogram
24+

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
3+
Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions

botogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/callbacks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

botogram/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2015-2018 The Botogram Authors (see AUTHORS)
1+
# Copyright (c) 2015-2019 The Botogram Authors (see AUTHORS)
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)