Skip to content

Commit 1a1f9d0

Browse files
committed
version 2.8.1
1 parent 666916d commit 1a1f9d0

22 files changed

+11037
-48
lines changed

docs-src/changelog.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
Changelog
33
==============================================
44

5+
v2.8.1 (2020-08-28)
6+
-------------------
7+
8+
Refer to `v2.8.1 milestone <https://github.com/slackapi/python-slackclient/milestone/15?closed=1>`_ to know the complete list of the issues resolved by this release.
9+
10+
**Updates**
11+
12+
1. [WebClient] #778 #779 Adding support for View objects for views.push/update/publish - Thanks @ruberVulpes
13+
2. [WebClient] #786 Fix admin.conversations.restrictAccess.* methods to match documentation - Thanks @ruberVulpes
14+
515
v2.8.0 (2020-08-06)
616
-------------------
717

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 929a7182c697c49910b11be815bbb7f0
3+
config: b6bc3689a72fbeb23a47ec77022e4f75
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_static/basic.css

Lines changed: 114 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ div.clearer {
1515
clear: both;
1616
}
1717

18+
div.section::after {
19+
display: block;
20+
content: '';
21+
clear: left;
22+
}
23+
1824
/* -- relbar ---------------------------------------------------------------- */
1925

2026
div.related {
@@ -316,21 +322,27 @@ img.align-default, .figure.align-default {
316322
div.sidebar {
317323
margin: 0 0 0.5em 1em;
318324
border: 1px solid #ddb;
319-
padding: 7px 7px 0 7px;
325+
padding: 7px;
320326
background-color: #ffe;
321327
width: 40%;
322328
float: right;
329+
clear: right;
330+
overflow-x: auto;
323331
}
324332

325333
p.sidebar-title {
326334
font-weight: bold;
327335
}
328336

337+
div.admonition, div.topic, blockquote {
338+
clear: left;
339+
}
340+
329341
/* -- topics ---------------------------------------------------------------- */
330342

331343
div.topic {
332344
border: 1px solid #ccc;
333-
padding: 7px 7px 0 7px;
345+
padding: 7px;
334346
margin: 10px 0 10px 0;
335347
}
336348

@@ -352,10 +364,6 @@ div.admonition dt {
352364
font-weight: bold;
353365
}
354366

355-
div.admonition dl {
356-
margin-bottom: 0;
357-
}
358-
359367
p.admonition-title {
360368
margin: 0px 10px 5px 0px;
361369
font-weight: bold;
@@ -366,9 +374,28 @@ div.body p.centered {
366374
margin-top: 25px;
367375
}
368376

377+
/* -- content of sidebars/topics/admonitions -------------------------------- */
378+
379+
div.sidebar > :last-child,
380+
div.topic > :last-child,
381+
div.admonition > :last-child {
382+
margin-bottom: 0;
383+
}
384+
385+
div.sidebar::after,
386+
div.topic::after,
387+
div.admonition::after,
388+
blockquote::after {
389+
display: block;
390+
content: '';
391+
clear: both;
392+
}
393+
369394
/* -- tables ---------------------------------------------------------------- */
370395

371396
table.docutils {
397+
margin-top: 10px;
398+
margin-bottom: 10px;
372399
border: 0;
373400
border-collapse: collapse;
374401
}
@@ -416,13 +443,13 @@ table.citation td {
416443
border-bottom: none;
417444
}
418445

419-
th > p:first-child,
420-
td > p:first-child {
446+
th > :first-child,
447+
td > :first-child {
421448
margin-top: 0px;
422449
}
423450

424-
th > p:last-child,
425-
td > p:last-child {
451+
th > :last-child,
452+
td > :last-child {
426453
margin-bottom: 0px;
427454
}
428455

@@ -468,6 +495,10 @@ table.field-list td, table.field-list th {
468495

469496
/* -- hlist styles ---------------------------------------------------------- */
470497

498+
table.hlist {
499+
margin: 1em 0;
500+
}
501+
471502
table.hlist td {
472503
vertical-align: top;
473504
}
@@ -495,17 +526,37 @@ ol.upperroman {
495526
list-style: upper-roman;
496527
}
497528

498-
li > p:first-child {
529+
:not(li) > ol > li:first-child > :first-child,
530+
:not(li) > ul > li:first-child > :first-child {
499531
margin-top: 0px;
500532
}
501533

502-
li > p:last-child {
534+
:not(li) > ol > li:last-child > :last-child,
535+
:not(li) > ul > li:last-child > :last-child {
503536
margin-bottom: 0px;
504537
}
505538

539+
ol.simple ol p,
540+
ol.simple ul p,
541+
ul.simple ol p,
542+
ul.simple ul p {
543+
margin-top: 0;
544+
}
545+
546+
ol.simple > li:not(:first-child) > p,
547+
ul.simple > li:not(:first-child) > p {
548+
margin-top: 0;
549+
}
550+
551+
ol.simple p,
552+
ul.simple p {
553+
margin-bottom: 0;
554+
}
555+
506556
dl.footnote > dt,
507557
dl.citation > dt {
508558
float: left;
559+
margin-right: 0.5em;
509560
}
510561

511562
dl.footnote > dd,
@@ -546,7 +597,7 @@ dl {
546597
margin-bottom: 15px;
547598
}
548599

549-
dd > p:first-child {
600+
dd > :first-child {
550601
margin-top: 0px;
551602
}
552603

@@ -560,6 +611,11 @@ dd {
560611
margin-left: 30px;
561612
}
562613

614+
dl > dd:last-child,
615+
dl > dd:last-child > :last-child {
616+
margin-bottom: 0;
617+
}
618+
563619
dt:target, span.highlighted {
564620
background-color: #fbe54e;
565621
}
@@ -637,29 +693,68 @@ pre {
637693
overflow-y: hidden; /* fixes display issues on Chrome browsers */
638694
}
639695

696+
pre, div[class*="highlight-"] {
697+
clear: both;
698+
}
699+
640700
span.pre {
641701
-moz-hyphens: none;
642702
-ms-hyphens: none;
643703
-webkit-hyphens: none;
644704
hyphens: none;
645705
}
646706

707+
div[class*="highlight-"] {
708+
margin: 1em 0;
709+
}
710+
647711
td.linenos pre {
648-
padding: 5px 0px;
649712
border: 0;
650713
background-color: transparent;
651714
color: #aaa;
652715
}
653716

654717
table.highlighttable {
655-
margin-left: 0.5em;
718+
display: block;
719+
}
720+
721+
table.highlighttable tbody {
722+
display: block;
723+
}
724+
725+
table.highlighttable tr {
726+
display: flex;
656727
}
657728

658729
table.highlighttable td {
659-
padding: 0 0.5em 0 0.5em;
730+
margin: 0;
731+
padding: 0;
732+
}
733+
734+
table.highlighttable td.linenos {
735+
padding-right: 0.5em;
736+
}
737+
738+
table.highlighttable td.code {
739+
flex: 1;
740+
overflow: hidden;
741+
}
742+
743+
.highlight .hll {
744+
display: block;
745+
}
746+
747+
div.highlight pre,
748+
table.highlighttable pre {
749+
margin: 0;
750+
}
751+
752+
div.code-block-caption + div {
753+
margin-top: 0;
660754
}
661755

662756
div.code-block-caption {
757+
margin-top: 1em;
663758
padding: 2px 5px;
664759
font-size: small;
665760
}
@@ -668,10 +763,7 @@ div.code-block-caption code {
668763
background-color: transparent;
669764
}
670765

671-
div.code-block-caption + div > div.highlight > pre {
672-
margin-top: 0;
673-
}
674-
766+
table.highlighttable td.linenos,
675767
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
676768
user-select: none;
677769
}
@@ -685,11 +777,7 @@ div.code-block-caption span.caption-text {
685777
}
686778

687779
div.literal-block-wrapper {
688-
padding: 1em 1em 0;
689-
}
690-
691-
div.literal-block-wrapper div.highlight {
692-
margin: 0;
780+
margin: 1em 0;
693781
}
694782

695783
code.descname {
@@ -740,8 +828,7 @@ span.eqno {
740828
}
741829

742830
span.eqno a.headerlink {
743-
position: relative;
744-
left: 0px;
831+
position: absolute;
745832
z-index: 1;
746833
}
747834

docs/_static/classic.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ p.admonition-title:after {
224224

225225
pre {
226226
padding: 5px;
227-
background-color: #eeffcc;
228-
color: #333333;
227+
background-color: unset;
228+
color: unset;
229229
line-height: 120%;
230230
border: 1px solid #ac9;
231231
border-left: none;

docs/_static/documentation_options.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var DOCUMENTATION_OPTIONS = {
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',
77
FILE_SUFFIX: '.html',
8+
LINK_SUFFIX: '.html',
89
HAS_SOURCE: true,
910
SOURCELINK_SUFFIX: '.txt',
1011
NAVIGATION_WITH_KEYS: false

0 commit comments

Comments
 (0)