File size: 762 Bytes
fbb7c49
 
 
 
 
 
 
53c5d8a
94b1209
fbb7c49
 
405ca58
fbb7c49
 
 
 
53c5d8a
23d15bf
fbb7c49
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import streamlit as st
from PIL import Image

from layouts.mainlayout import mainlayout

@mainlayout
def instructions():

    with open("frontend/content/installation.md", "r",encoding='utf-8') as f:
        instructions = f.read()

    with open("frontend/content/working.md", "r",encoding='utf-8') as f:
        working = f.read()
    

    st.markdown("### πŸ“ :rainbow[Using Techdocs via the CLI]")  
    st.info("Please use the CLI to generate the documentation for your project. The Streamlit app is just a demo to give the user an idea of the project.") 
    
    with st.expander("βš™οΈ Installation and setup"):
        st.markdown(instructions)

    with st.expander("πŸš€ CLI and Working", expanded=True):
        st.markdown(working)