File size: 899 Bytes
fbb7c49
 
 
 
 
 
 
94b1209
fbb7c49
 
94b1209
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.")  
    st.warning("To start using the CLI, please generate an API Key from the Streamlit app. You can also generate the API Key from the CLI.")

    with st.expander("βš™οΈ Installation and setup"):
        st.markdown(instructions)

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